Pillar.HttpClient.Adapter behaviour (Pillar v0.39.0)
View SourceA behaviour to be implemented by adapters
Summary
Callbacks
A callback to be implemented by adapters
Callbacks
@callback post(url :: String.t(), post_body :: String.t(), options :: keyword()) :: Pillar.HttpClient.Response.t() | Pillar.HttpClient.TransportError.t() | %RuntimeError{message: String.t()}
A callback to be implemented by adapters