NettyZioServerOptions

sttp.tapir.server.netty.zio.NettyZioServerOptions
See theNettyZioServerOptions companion object
case class NettyZioServerOptions[R](interceptors: List[Interceptor[[_] =>> RIO[R, _$1]]], createFile: ServerRequest => RIO[R, TapirFile], deleteFile: TapirFile => RIO[R, Unit])

Options configuring the NettyZioServerInterpreter, which is being used by NettyZioServer to interpret tapir's sttp.tapir.server.ServerEndpoints so that they can be served using a Netty server. Contains the interceptors stack and functions for file handling.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def appendInterceptor(i: Interceptor[[_] =>> RIO[R, _$3]]): NettyZioServerOptions[R]
def prependInterceptor(i: Interceptor[[_] =>> RIO[R, _$2]]): NettyZioServerOptions[R]
def widen[R2 <: R]: NettyZioServerOptions[R2]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product