RigInboundGatewayWeb.MediaTypeHandling (Reactive Interaction Gateway v3.0.0-alpha.2) View Source
Helper functions around media type handling.
Link to this section Summary
Link to this section Types
Specs
Link to this section Functions
Specs
accept_only_req_for(Plug.Conn.t(), [String.t()]) :: Plug.Conn.t()
Specs
accepted_media_types(Plug.Conn.t()) :: [media_type()]
Specs
accepts_media_type?(Plug.Conn.t(), [String.t()]) :: Plug.Conn.t()
Specs
media_type(String.t()) :: media_type()