View Source Unreal.Core.HTTP.Request (Unreal v0.2.0)

Link to this section Summary

Link to this section Types

@type t() :: %Unreal.Core.HTTP.Request{
  command: String.t() | nil,
  headers: [{String.t(), String.t()}],
  method: :get | :post | :put | :patch | :delete,
  params: map(),
  url: String.t()
}

Link to this section Functions

Link to this function

add_params(request, params)

View Source
@spec add_params(t(), map()) :: t()
Link to this function

build(method, config, path)

View Source
Link to this function

build(method, config, path, command)

View Source
@spec build(atom(), Unreal.Core.Config.t(), binary(), binary() | nil) :: t()