Atex.XRPC (atex v0.2.0)
View SourceSummary
Functions
Perform a HTTP GET on a XRPC resource. Called a "query" in lexicons.
Perform a HTTP POST on a XRPC resource. Called a "prodecure" in lexicons.
Put an authorization
header into a keyword list of options to pass to a HTTP client.
Like get/3
but is unauthenticated by default.
Like post/3
but is unauthenticated by default.
Functions
@spec get(Atex.XRPC.Client.t(), String.t(), keyword()) :: Atex.XRPC.Adapter.result()
Perform a HTTP GET on a XRPC resource. Called a "query" in lexicons.
@spec post(Atex.XRPC.Client.t(), String.t(), keyword()) :: Atex.XRPC.Adapter.result()
Perform a HTTP POST on a XRPC resource. Called a "prodecure" in lexicons.
Put an authorization
header into a keyword list of options to pass to a HTTP client.
@spec unauthed_get(String.t(), String.t(), keyword()) :: Atex.XRPC.Adapter.result()
Like get/3
but is unauthenticated by default.
@spec unauthed_post(String.t(), String.t(), keyword()) :: Atex.XRPC.Adapter.result()
Like post/3
but is unauthenticated by default.