# `LlmCall.HTTP.Request`
[🔗](https://github.com/gilbertwong96/llm_call/blob/main/lib/llm_call/http.ex#L28)

One HTTP request, fully resolved by the client.

# `method`

```elixir
@type method() :: :get | :post
```

# `t`

```elixir
@type t() :: %LlmCall.HTTP.Request{
  body: iodata() | nil,
  headers: [{String.t(), String.t()}],
  method: method(),
  receive_timeout: timeout(),
  url: String.t()
}
```

# `get`

```elixir
@spec get(String.t(), [{String.t(), String.t()}], timeout()) :: t()
```

Builds a request for a `GET`.

# `post`

```elixir
@spec post(String.t(), [{String.t(), String.t()}], iodata(), timeout()) :: t()
```

Builds a request for a `POST`.

---

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