ORY.Hydra.Client behaviour (ory_hydra v1.2.2)
Link to this section Summary
Link to this section Types
Link to this type
response_t()
Specs
response_t() :: %{
body: String.t(),
headers: ORY.Hydra.http_headers_t(),
status_code: pos_integer()
}
Link to this section Callbacks
Link to this callback
request(method, url, headers, body, opts)
Specs
request( method :: ORY.Hydra.http_method_t(), url :: String.t(), headers :: ORY.Hydra.http_headers_t(), body :: String.t(), opts :: any() ) :: {:ok, response_t()} | {:error, any()}