ServerConfig

zio.http.ServerConfig$
See theServerConfig companion class

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class CompressionOptions(level: Int, bits: Int, mem: Int, kind: CompressionType)

Attributes

bits

defines windowBits, The base two logarithm of the size of the history buffer. The value should be in the range 9 to 15 inclusive. Larger values result in better compression at the expense of memory usage

level

defines compression level, 1 yields the fastest compression and 9 yields the best compression. 0 means no compression.

mem

defines memlevel, How much memory should be allocated for the internal compression state. 1 uses minimum memory and 9 uses maximum memory. Larger values result in better and faster compression at the expense of memory usage

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait LeakDetectionLevel

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ADVANCED.type
object DISABLED.type
object PARANOID.type
object SIMPLE.type
Self type
final case class ResponseCompressionConfig(contentThreshold: Int, options: IndexedSeq[CompressionOptions])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def live(config: ServerConfig)(implicit trace: Trace): ZLayer[Any, Nothing, ServerConfig]

Concrete fields

val live: ZLayer[Any, Nothing, ServerConfig]