ArmeriaServerConfig

org.sigilaris.node.jvm.transport.armeria.ArmeriaServerConfig
final case class ArmeriaServerConfig(port: Int, maxRequestLength: Long, requestTimeout: Duration)

Configuration for an Armeria HTTP server instance.

Value parameters

maxRequestLength

maximum allowed request body size in bytes (default 128 MiB)

port

the TCP port to listen on

requestTimeout

global maximum duration to wait for a request to complete (default 10 minutes). Do not set this to zero for a mixed finite/streaming production assembly; long-lived streams need a route-specific timeout override so finite endpoints keep their generic timeout guard.

Attributes

Source
ArmeriaServer.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product