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_synchttpSyncHttpClient
    Class●Since v0.3

    SyncHttpClient

    Copy
    SyncHttpClient(
        self,
        client: httpx.Client,
    )

    Constructors

    Attributes

    Methods

    View source on GitHub
    constructor
    __init__
    NameType
    clienthttpx.Client
    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 the results of a request using SSE.

    Handle synchronous requests to the LangGraph API.

    Provides error messaging and content handling enhancements above the underlying httpx client, mirroring the interface of HttpClient but for sync usage.