NettyCatsServerOptions

sttp.tapir.server.netty.cats.NettyCatsServerOptions
See theNettyCatsServerOptions companion object
case class NettyCatsServerOptions[F[_]](interceptors: List[Interceptor[F]], createFile: ServerRequest => F[TapirFile], deleteFile: TapirFile => F[Unit], dispatcher: Dispatcher[F])

Options configuring the NettyCatsServerInterpreter, which is being used by NettyCatsServer 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[F]): NettyCatsServerOptions[F]
def prependInterceptor(i: Interceptor[F]): NettyCatsServerOptions[F]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product