Malomo (malomo v2.0.0)

Link to this section Summary

Link to this section Types

Link to this type

http_headers_t()

@type http_headers_t() :: [{String.t(), String.t()}]
Link to this type

http_method_t()

@type http_method_t() :: :delete | :get | :head | :patch | :post | :put
Link to this type

http_response_t()

@type http_response_t() ::
  {:ok, Malomo.Response.t()} | {:error, Malomo.Response.t() | any()}
Link to this type

http_status_code_t()

@type http_status_code_t() :: pos_integer()

Link to this section Functions

Link to this function

request(operation, config)

@spec request(Malomo.Operation.t(), Keyword.t()) :: http_response_t()