# `Assent.HTTPAdapter.HTTPRequest`
[🔗](https://github.com/pow-auth/assent/blob/v0.4.0/lib/assent/http_adapter.ex#L30)

Struct used by HTTP adapters to normalize HTTP requests.

The `:url`, `:headers`, and `:body` fields are omitted from `Inspect`
output as they may contain sensitive data.

## Examples

    iex> request = %Assent.HTTPAdapter.HTTPRequest{method: :get, url: "https://example.com"}
    iex> inspect(request)
    "#Assent.HTTPAdapter.HTTPRequest<method: :get, ...>"

# `t`

```elixir
@type t() :: %Assent.HTTPAdapter.HTTPRequest{
  body: binary() | nil,
  headers: [{binary(), binary()}],
  method: :get | :post,
  url: binary()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
