LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmith_openapi_client_base_clientDefaultAsyncHttpxClient
Attribute●Since v0.8

DefaultAsyncHttpxClient

Copy
DefaultAsyncHttpxClient = httpx.AsyncClient
View source on GitHub

An alias to httpx.AsyncClient that provides the same defaults that this SDK uses internally.

This is useful because overriding the http_client with your own instance of httpx.AsyncClient will result in httpx's defaults being used, not ours.