SafeRPC.Adapter.HTTP.Request (safe_rpc v0.1.2)

Copy Markdown View Source

Framework-neutral HTTP request envelope for SafeRPC adapters.

Summary

Types

body()

@type body() :: :empty | {:full, iodata()}

header()

@type header() :: {String.t(), String.t()}

t()

@type t() :: %SafeRPC.Adapter.HTTP.Request{
  body: body(),
  headers: [header()],
  host: String.t(),
  method: String.t(),
  path: String.t(),
  port: pos_integer(),
  query: String.t(),
  remote_ip: :inet.ip_address() | nil,
  scheme: String.t()
}