Current section

Files

Jump to
http_builder lib http_request.ex
Raw

lib/http_request.ex

defmodule HttpBuilder.HttpRequest do
defstruct [ adapter: nil, body: nil, headers: [], host: nil, path: "",
method: nil, query_params: [], rec_timeout: 5000,
req_timeout: 8000, options: [] ]
@type t :: %__MODULE__{
adapter: atom,
body: map,
headers: list,
host: String.t,
path: String.t,
method: atom | nil,
query_params: list,
rec_timeout: integer,
req_timeout: integer,
options: list
}
end