View Source Kashka.Http (kashka v0.3.0)
Helper module-wrapper around Mint
Link to this section Summary
Link to this section Types
@type args() :: url() | url_with_opts()
@type t() :: %Kashka.Http{ fix_host: boolean(), fix_port: boolean(), fix_schema: boolean(), headers: Mint.Types.headers(), keepalive: boolean(), mint: Mint.HTTP.t(), protocols: :http1 | :http2 | :any, uri: URI.t() }
@type url() :: String.t()
Link to this section Functions
@spec close(t()) :: :ok
@spec request( t() | args(), String.t(), String.t(), Mint.Types.headers(), iodata(), non_neg_integer() ) :: {:ok, t(), non_neg_integer(), iodata()}