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
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

def channelType(channelType: ChannelType): NettyConfig

Configure Netty to use the leak detection level provided.

Configure Netty to use the leak detection level provided.

Attributes

See also
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

def shutdownTimeUnit: TimeUnit

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product