View Source Sleipnir.Client protocol (sleipnir v0.1.1)
The HTTP client that makes requests on behalf of Sleipnir
Link to this section Summary
Types
Returned if the request was successfully sent. Loki will generally respond with status 204 No Content on a successful request. Headers should contain the headers from the response.
Can be any type that has an implementation for the Sleipnir.Client protocol. Default implementation is provided for Tesla.Client.
Functions
Pushes the request to Loki. Implementations may define their own options.
Link to this section Types
@type reason() :: term()
Returned if the request was successfully sent. Loki will generally respond with status 204 No Content on a successful request. Headers should contain the headers from the response.
@type t() :: term()
Can be any type that has an implementation for the Sleipnir.Client protocol. Default implementation is provided for Tesla.Client.
Link to this section Functions
Pushes the request to Loki. Implementations may define their own options.