LangChain Reference home page
Search...
⌘K
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
⌘I
Chat LangChain
What can I help with?
Enter
to send
·
Shift+Enter
new line
What are deep agents and how do I get started?
How do I build a React app around a Deep Agent?
How do I stream subagent output to my frontend with useStream?
Menu
Navigation
Projects
LangSmith Java
Overview
Client
Datasets
Examples
Runs
Sessions
Feedback
Repos (Prompts)
Annotation Queues
Errors
Pagination
Language
Python
JavaScript
Theme
Light
Dark
Java
langsmith
com
langchain
smith
client
okhttp
OkHttpClient
Class
v0.0.0 (latest)
●
Since v0.1
OkHttpClient
Copy
public
class
OkHttpClient
extends
HttpClient
Properties
property
body
:
RequestBody
?
Methods
method
execute
method
executeAsync
method
onResponse
method
onFailure
method
close
method
contentType
method
contentLength
method
isOneShot
method
writeTo
method
statusCode
method
headers
method
body
method
close
method
builder
method
timeout
method
timeout
method
proxy
method
sslSocketFactory
method
trustManager
method
hostnameVerifier
method
build
View source on GitHub
Version History