- By Inheritance
- Hide All
- Show All
BlazeClientConfig(responseHeaderTimeout: Duration, idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], sslContext: Option[SSLContext], checkEndpointIdentification: Boolean, maxResponseLineSize: Int, maxHeaderLength: Int, maxChunkSize: Int, lenientParser: Boolean, bufferSize: Int, executionContext: ExecutionContext, group: Option[AsynchronousChannelGroup]) extends Product with Serializable
Config object for the blaze clients
duration between the completion of a request and the completion of the response header. Does not include time to acquire the connection or the time to read the response.
duration that a connection can wait without traffic being read or written before timeout
maximum duration for a request to complete before a timeout. Does not include time to acquire the the connection, but does include time to read the response
optional custom user agent header
SSLContextto use to replace the default,
require endpoint identification for secure requests according to RFC 2818, Section 3.1. If the certificate presented does not match the hostname of the request, the request fails with a CertificateException. This setting does not affect checking the validity of the cert via the
sslContext's trust managers.
maximum length of the request line
maximum length of headers
maximum size of chunked content chunks
a lenient parser will accept illegal chars but replaces them with � (0xFFFD)
internal buffer size of the blaze client
custom executionContext to run async computations.
AsynchronousChannelGroupto use other than the system default
Default blaze client
Blaze client implementation
- object BlazeClientConfig extends Serializable
Create a HTTP1 client which will attempt to recycle connections
Create HTTP1 clients which will disconnect on completion of one request