NettyConfig

zio.http.netty.NettyConfig
See theNettyConfig companion object
final case class NettyConfig(leakDetectionLevel: LeakDetectionLevel, channelType: ChannelType, nThreads: Int, shutdownQuietPeriodDuration: Duration, shutdownTimeoutDuration: Duration, bossGroup: BossGroup) extends Config

Attributes

Companion
object
Source
NettyConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Config
trait Config
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

Configure Netty's boss event-loop group. This only applies to server applications and is ignored for the Client

Configure Netty's boss event-loop group. This only applies to server applications and is ignored for the Client

Attributes

Source
NettyConfig.scala
def channelType(channelType: ChannelType): NettyConfig

Attributes

Source
NettyConfig.scala

Configure Netty to use the leak detection level provided.

Configure Netty to use the leak detection level provided.

Attributes

See also
Source
NettyConfig.scala
def maxThreads(nThreads: Int): NettyConfig

Configure Netty to use a maximum of nThreads for the worker event-loop group.

Configure Netty to use a maximum of nThreads for the worker event-loop group.

Attributes

Source
NettyConfig.scala

Attributes

Source
NettyConfig.scala

Attributes

Source
NettyConfig.scala
def shutdownTimeUnit: TimeUnit

Attributes

Source
NettyConfig.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product