View Source AnyHttp (Any HTTP v0.1.1)
Provides an interface which dispatches the function to the right adapter.
Configuration
Defines in your application the following configuration depending of the adapter you choose:
config :any_http, :client_adapter, AnyHttp.Adapters.Req
Summary
Functions
Makes a DELETE request to the given URL.
Makes a GET request to the given URL.
Makes a HEAD request to the given URL.
Makes a PATCH request to the given URL.
Makes a POST request to the given URL.
Makes a PUT request to the given URL.
Types
@type body() :: AnyHttp.Types.body()
@type headers() :: AnyHttp.Types.headers()
@type opts() :: AnyHttp.Types.opts()
@type response() :: AnyHttp.Types.response()
@type url() :: AnyHttp.Types.url()
Functions
Makes a DELETE request to the given URL.
Makes a GET request to the given URL.
Makes a HEAD request to the given URL.
Makes a PATCH request to the given URL.
Makes a POST request to the given URL.
Makes a PUT request to the given URL.