LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    Chat LangChain

    What can I help with?

    Enter to send·Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdk_asynchttpHttpClient
    Class●Since v0.3

    HttpClient

    Copy
    HttpClient(
        self,
        client: httpx.AsyncClient,
    )

    Constructors

    Attributes

    Methods

    View source on GitHub
    constructor
    __init__
    NameType
    clienthttpx.AsyncClient
    attribute
    client: client
    method
    get

    Send a GET request.

    method
    post

    Send a POST request.

    method
    put

    Send a PUT request.

    method
    patch

    Send a PATCH request.

    method
    delete

    Send a DELETE request.

    method
    request_reconnect

    Send a request that reconnects to its Location header if the response is cut off, with backoff between attempts.

    method
    stream

    Stream results using SSE.

    Handle async requests to the LangGraph API.

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