Postscript.Http behaviour (postscript v1.0.0)
Link to this section Summary
Link to this section Types
Link to this type
response_t()
Specs
response_t() :: %{ body: String.t(), headers: Postscript.http_headers_t(), status_code: Postscript.http_status_code_t() }
Link to this section Callbacks
Link to this callback
send(request, opts)
Specs
send(request :: Postscript.Request.t(), opts :: any()) :: {:ok, response_t()} | {:error, response_t() | any()}