NettyConfig

zio.http.netty.NettyConfig
See theNettyConfig companion object
final case class NettyConfig(leakDetectionLevel: LeakDetectionLevel, channelType: ChannelType, nThreads: Int, shutdownQuietPeriodDuration: Duration, shutdownTimeoutDuration: Duration) 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

def channelType(channelType: ChannelType): NettyConfig

Configure the server to use the leak detection level provided (@see ResourceLeakDetector.Level).

Configure the server to use the leak detection level provided (@see ResourceLeakDetector.Level).

Attributes

def maxThreads(nThreads: Int): NettyConfig

Configure the server to use a maximum of nThreads to process requests.

Configure the server to use a maximum of nThreads to process requests.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

val shutdownTimeUnit: TimeUnit