# HttpClient

> **Class** in `langgraph_sdk`

📖 [View in docs](https://reference.langchain.com/python/langgraph-sdk/_async/http/HttpClient)

Handle async requests to the LangGraph API.

Adds additional error messaging & content handling above the
provided httpx client.

## Signature

```python
HttpClient(
    self,
    client: httpx.AsyncClient,
)
```

## Constructors

```python
__init__(
    self,
    client: httpx.AsyncClient,
) -> None
```

| Name | Type |
|------|------|
| `client` | `httpx.AsyncClient` |


## Properties

- `client`

## Methods

- [`get()`](https://reference.langchain.com/python/langgraph-sdk/_async/http/HttpClient/get)
- [`post()`](https://reference.langchain.com/python/langgraph-sdk/_async/http/HttpClient/post)
- [`put()`](https://reference.langchain.com/python/langgraph-sdk/_async/http/HttpClient/put)
- [`patch()`](https://reference.langchain.com/python/langgraph-sdk/_async/http/HttpClient/patch)
- [`delete()`](https://reference.langchain.com/python/langgraph-sdk/_async/http/HttpClient/delete)
- [`request_reconnect()`](https://reference.langchain.com/python/langgraph-sdk/_async/http/HttpClient/request_reconnect)
- [`stream()`](https://reference.langchain.com/python/langgraph-sdk/_async/http/HttpClient/stream)

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/1142ebf9213e3eb01b9d1e7223b9f6b30bf8da61/libs/sdk-py/langgraph_sdk/_async/http.py#L26)