ChannelEvent

Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class ChannelRead[A](message: A) extends Event[A]
case object ChannelRegistered extends Event[Nothing]
case object ChannelUnregistered extends Event[Nothing]
sealed trait Event[+A]

Immutable and type-safe representation of events that are triggered on a channel.

Immutable and type-safe representation of events that are triggered on a channel.

final case class ExceptionCaught(cause: Throwable) extends Event[Nothing]
object UserEvent
Companion:
class
sealed trait UserEvent

Custom user-events that are triggered within ZIO Http

Custom user-events that are triggered within ZIO Http

Companion:
object
case class UserEventTriggered(event: UserEvent) extends Event[Nothing]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def channelRead[B](ctx: ChannelHandlerContext, msg: B): ChannelEvent[Any, B]
def channelRegistered(ctx: ChannelHandlerContext): ChannelEvent[Any, Nothing]
def channelUnregistered(ctx: ChannelHandlerContext): ChannelEvent[Any, Nothing]
def exceptionCaught(ctx: ChannelHandlerContext, cause: Throwable): ChannelEvent[Any, Nothing]
def userEventTriggered(ctx: ChannelHandlerContext, evt: UserEvent): ChannelEvent[Any, Nothing]