sttp.tapir.server.netty.internal

Members list

Type members

Classlikes

object FutureUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
FutureUtil.type
class NettyBodyListener[F[_]](runAsync: RunAsync[F])(implicit m: MonadError[F]) extends BodyListener[F, NettyResponse]

Attributes

Supertypes
trait BodyListener[F, NettyResponse]
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
@ChannelHandler$$Sharable
class NettyConnectionCounter(maxConnections: Int) extends ChannelInboundHandlerAdapter

Attributes

Supertypes
class ChannelInboundHandlerAdapter
trait ChannelInboundHandler
class ChannelHandlerAdapter
trait ChannelHandler
class Object
trait Matchable
class Any
Show all
object NettyDefaults

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class NettyServerHandler[F[_]](route: () => F, unsafeRunAsync: (() => F[ServerResponse[NettyResponse]]) => (Future[ServerResponse[NettyResponse]], () => Future[Unit]), channelGroup: ChannelGroup, isShuttingDown: AtomicBoolean, config: NettyConfig)(implicit me: MonadError[F]) extends SimpleChannelInboundHandler[HttpRequest]

Value parameters

unsafeRunAsync

Function which dispatches given effect to run asynchronously, returning its result as a Future, and function of type () => Future[Unit] allowing cancellation of that Future. For example, this can be realized by cats.effect.std.Dispatcher.unsafeToFutureCancelable.

Attributes

Supertypes
class SimpleChannelInboundHandler[HttpRequest]
class ChannelInboundHandlerAdapter
trait ChannelInboundHandler
class ChannelHandlerAdapter
trait ChannelHandler
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
implicit class RichChannelFuture(val cf: ChannelFuture)

Attributes

Supertypes
class Object
trait Matchable
class Any
final implicit class RichHttpMessage(m: HttpMessage) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
final implicit class RichNettyHttpHeaders(underlying: HttpHeaders) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
trait RunAsync[F[_]]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object RunAsync

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
RunAsync.type

Value members

Concrete fields

final val ServerCodecHandlerName: "serverCodecHandler"
final val WebSocketControlFrameHandlerName: "wsControlFrameHandler"

Implicits

Implicits

final implicit def RichChannelFuture(cf: ChannelFuture): RichChannelFuture
final implicit def RichHttpMessage(m: HttpMessage): RichHttpMessage
final implicit def RichNettyHttpHeaders(underlying: HttpHeaders): RichNettyHttpHeaders