Salemove.HttpClient.Response (salemove_http_client v4.0.0)
A generic HTTP client response. Contains response headers, status and body.
Specific clients must implement their own response handling logic.
Link to this section Summary
Link to this section Types
Specs
t() :: %Salemove.HttpClient.Response{ body: Tesla.Env.body(), headers: Tesla.Env.headers(), status: Tesla.Env.status() }
Link to this section Functions
Link to this function
new(env)
Specs
new(Tesla.Env.t()) :: t()
Create new Elixir.Salemove.HttpClient.Response struct from Tesla response