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

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    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 automatically reconnects to Location header.

    method
    stream

    Stream results using SSE.

    Handle async requests to the LangGraph API.

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