Packages

sealed abstract class BlazeClientBuilder[F[_]] extends BlazeBackendBuilder[Client[F]] with BackendBuilder[F, Client[F]]

Source
BlazeClientBuilder.scala
Linear Supertypes
BackendBuilder[F, Client[F]], BlazeBackendBuilder[Client[F]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlazeClientBuilder
  2. BackendBuilder
  3. BlazeBackendBuilder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Self = BlazeClientBuilder[F]
    Definition Classes
    BlazeClientBuilder → BlazeBackendBuilder

Value Members

  1. def allocated: F[(Client[F], F[Unit])]

    Returns an effect that allocates a backend and an F[Unit] to release it.

    Returns an effect that allocates a backend and an F[Unit] to release it. The returned F waits until the backend is ready to process requests. The second element of the tuple shuts down the backend when run.

    Unlike resource and stream, there is no automatic release of the backend. This function is intended for REPL sessions, tests, and other situations where composing a cats.effect.Resource or fs2.Stream is not tenable. resource or stream is recommended wherever possible.

    Definition Classes
    BackendBuilder
  2. val asynchronousChannelGroup: Option[AsynchronousChannelGroup]
  3. val bufferSize: Int
  4. def channelOption[A](socketOption: SocketOption[A]): Option[A]
    Definition Classes
    BlazeBackendBuilder
  5. val channelOptions: ChannelOptions
    Definition Classes
    BlazeClientBuilder → BlazeBackendBuilder
  6. val checkEndpointIdentification: Boolean
  7. val chunkBufferMaxSize: Int
  8. val connectTimeout: Duration
  9. val customDnsResolver: Option[(RequestKey) ⇒ Either[Throwable, InetSocketAddress]]
  10. val executionContext: ExecutionContext
  11. val idleTimeout: Duration
  12. val maxChunkSize: Int
  13. val maxConnectionsPerRequestKey: (RequestKey) ⇒ Int
  14. val maxHeaderLength: Int
  15. val maxResponseLineSize: Int
  16. val maxTotalConnections: Int
  17. val maxWaitQueueLimit: Int
  18. val parserMode: ParserMode
  19. val requestTimeout: Duration
  20. def resource: Resource[F, Client[F]]

    Returns the backend as a resource.

    Returns the backend as a resource. Resource acquire waits until the backend is ready to process requests.

    Definition Classes
    BlazeClientBuilder → BackendBuilder
  21. val responseHeaderTimeout: Duration
  22. val scheduler: Resource[F, TickWheelExecutor]
  23. def socketKeepAlive: Option[Boolean]
    Definition Classes
    BlazeBackendBuilder
  24. def socketReceiveBufferSize: Option[Int]
    Definition Classes
    BlazeBackendBuilder
  25. def socketReuseAddress: Option[Boolean]
    Definition Classes
    BlazeBackendBuilder
  26. def socketSendBufferSize: Option[Int]
    Definition Classes
    BlazeBackendBuilder
  27. val sslContext: Option[SSLContext]
  28. def stream: Stream[F, Client[F]]

    Returns the backend as a single-element stream.

    Returns the backend as a single-element stream. The stream does not emit until the backend is ready to process requests. The backend is shut down when the stream is finalized.

    Definition Classes
    BackendBuilder
  29. def tcpNoDelay: Option[Boolean]
    Definition Classes
    BlazeBackendBuilder
  30. val userAgent: Option[User-Agent]
  31. def withAsynchronousChannelGroup(asynchronousChannelGroup: AsynchronousChannelGroup): BlazeClientBuilder[F]
  32. def withAsynchronousChannelGroupOption(asynchronousChannelGroup: Option[AsynchronousChannelGroup]): BlazeClientBuilder[F]
  33. def withBufferSize(bufferSize: Int): BlazeClientBuilder[F]
  34. def withChannelOption[A](key: SocketOption[A], value: A): Self
    Definition Classes
    BlazeBackendBuilder
  35. def withChannelOptions(channelOptions: ChannelOptions): BlazeClientBuilder[F]
    Definition Classes
    BlazeClientBuilder → BlazeBackendBuilder
  36. def withCheckEndpointAuthentication(checkEndpointIdentification: Boolean): BlazeClientBuilder[F]
  37. def withChunkBufferMaxSize(chunkBufferMaxSize: Int): BlazeClientBuilder[F]
  38. def withConnectTimeout(connectTimeout: Duration): BlazeClientBuilder[F]
  39. def withCustomDnsResolver(customDnsResolver: (RequestKey) ⇒ Either[Throwable, InetSocketAddress]): BlazeClientBuilder[F]
  40. def withDefaultChannelOption[A](key: SocketOption[A]): Self
    Definition Classes
    BlazeBackendBuilder
  41. def withDefaultSocketKeepAlive: Self
    Definition Classes
    BlazeBackendBuilder
  42. def withDefaultSocketReceiveBufferSize: Self
    Definition Classes
    BlazeBackendBuilder
  43. def withDefaultSocketReuseAddress: Self
    Definition Classes
    BlazeBackendBuilder
  44. def withDefaultSocketSendBufferSize: Self
    Definition Classes
    BlazeBackendBuilder
  45. def withDefaultSslContext: BlazeClientBuilder[F]

    Use an SSLContext obtained by SSLContext.getDefault() when making secure calls.

    Use an SSLContext obtained by SSLContext.getDefault() when making secure calls.

    Since 0.21, the creation is not deferred.

  46. def withDefaultTcpNoDelay: Self
    Definition Classes
    BlazeBackendBuilder
  47. def withExecutionContext(executionContext: ExecutionContext): BlazeClientBuilder[F]
  48. def withIdleTimeout(idleTimeout: Duration): BlazeClientBuilder[F]
  49. def withMaxChunkSize(maxChunkSize: Int): BlazeClientBuilder[F]
  50. def withMaxConnectionsPerRequestKey(maxConnectionsPerRequestKey: (RequestKey) ⇒ Int): BlazeClientBuilder[F]
  51. def withMaxHeaderLength(maxHeaderLength: Int): BlazeClientBuilder[F]
  52. def withMaxResponseLineSize(maxResponseLineSize: Int): BlazeClientBuilder[F]
  53. def withMaxTotalConnections(maxTotalConnections: Int): BlazeClientBuilder[F]
  54. def withMaxWaitQueueLimit(maxWaitQueueLimit: Int): BlazeClientBuilder[F]
  55. def withParserMode(parserMode: ParserMode): BlazeClientBuilder[F]
  56. def withRequestTimeout(requestTimeout: Duration): BlazeClientBuilder[F]
  57. def withResponseHeaderTimeout(responseHeaderTimeout: Duration): BlazeClientBuilder[F]
  58. def withScheduler(scheduler: TickWheelExecutor): BlazeClientBuilder[F]
  59. def withSocketKeepAlive(socketKeepAlive: Boolean): Self
    Definition Classes
    BlazeBackendBuilder
  60. def withSocketReceiveBufferSize(socketReceiveBufferSize: Int): Self
    Definition Classes
    BlazeBackendBuilder
  61. def withSocketReuseAddress(socketReuseAddress: Boolean): Self
    Definition Classes
    BlazeBackendBuilder
  62. def withSocketSendBufferSize(socketSendBufferSize: Int): Self
    Definition Classes
    BlazeBackendBuilder
  63. def withSslContext(sslContext: SSLContext): BlazeClientBuilder[F]

    Use the provided SSLContext when making secure calls

  64. def withSslContextOption(sslContext: Option[SSLContext]): BlazeClientBuilder[F]

    Use some provided SSLContext when making secure calls, or disable secure calls with None

  65. def withTcpNoDelay(tcpNoDelay: Boolean): Self
    Definition Classes
    BlazeBackendBuilder
  66. def withUserAgent(userAgent: User-Agent): BlazeClientBuilder[F]
  67. def withUserAgentOption(userAgent: Option[User-Agent]): BlazeClientBuilder[F]
  68. def withoutAsynchronousChannelGroup: BlazeClientBuilder[F]
  69. def withoutSslContext: BlazeClientBuilder[F]

    Disable secure calls

  70. def withoutUserAgent: BlazeClientBuilder[F]