retort v2.1.0 Retort.Client.Request
Metadata about a request that is in-flight for Retort.Client.Generic
Summary
Types
The methods supported by the JSON API over JSON RPC servers
Information needed to send the response from the server by the Elixir process
Functions
Translates the method
to the corresponding Alembic.FromJson.action
Converts to Alembic.Meta.t
with "action"
and "sender"
set to work with
Alembic.FromJson.from_json/2
’s error template
Types
method :: :create | :create_relationship | :destroy | :destroy_relationship | :get_related_resource | :index | :show | :show_relationship | :update | :update_relationship
The methods supported by the JSON API over JSON RPC servers
Information needed to send the response from the server by the Elixir process.
from
theGenserver
call identifier to reply to the ELixir client processmethod
- the method of the call. Used to generateAlembic.Meta.t
(usingto_meta/1
) that controls the parsing of the server response.
Functions
Translates the method
to the corresponding Alembic.FromJson.action
Converts to Alembic.Meta.t
with "action"
and "sender"
set to work with
Alembic.FromJson.from_json/2
’s error template.
"sender"
is always set to :server
since parsing responses from this request will by definition come from a server.