package blaze
- Source
- package.scala
- Alphabetic
- By Inheritance
- blaze
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
BlazeClientConfig
(idleTimeout: Duration, requestTimeout: Duration, userAgent: Option[User-Agent], sslContext: Option[SSLContext], endpointAuthentication: Boolean, maxResponseLineSize: Int, maxHeaderLength: Int, maxChunkSize: Int, lenientParser: Boolean, bufferSize: Int, customExecutor: Option[ExecutorService], group: Option[AsynchronousChannelGroup]) extends Product with Serializable
Config object for the blaze clients
Config object for the blaze clients
- idleTimeout
duration that a connection can wait without traffic before timeout
- requestTimeout
maximum duration for a request to complete before a timeout
- userAgent
optional custom user agent header
- sslContext
optional custom
SSLContext
to use to replace the default- endpointAuthentication
require endpoint authentication for encrypted connections
- maxResponseLineSize
maximum length of the request line
- maxHeaderLength
maximum length of headers
- maxChunkSize
maximum size of chunked content chunks
- lenientParser
a lenient parser will accept illegal chars but replaces them with � (0xFFFD)
- bufferSize
internal buffer size of the blaze client
- customExecutor
custom executor to run async computations. Will not be shutdown with client.
- group
custom
AsynchronousChannelGroup
to use other than the system default
Value Members
-
lazy val
defaultClient: Client
Default blaze client
Default blaze client
This client will create a new connection for every request.
-
object
BlazeClient
Blaze client implementation
- object BlazeClientConfig extends Serializable
-
object
PooledHttp1Client
Create a HTTP1 client which will attempt to recycle connections
-
object
SimpleHttp1Client
Create HTTP1 clients which will disconnect on completion of one request