org.llm4s.http.HttpClientOptions
See theHttpClientOptions companion object
@Stable
How Llm4sHttpClient.create builds the JDK-backed client.
Build one with HttpClientOptions.apply and change it with the with* setters; the constructor and copy are private, so a new field never breaks callers.
Value parameters
- connectTimeout
-
the limit on establishing each connection, separate from every request's own timeouts;
Noneleaves connecting bounded by the request'sresponseTimeoutalone - network
-
the proxy and TLS settings; HttpNetworkSettings.default keeps the JVM's default proxy selector and trust store
Attributes
- Companion
- object
- Source
- Llm4sHttpClient.scala
- Graph
-
- Supertypes
Members list
In this article
