ChannelEvent

zio.http.ChannelEvent
See theChannelEvent companion object
final case class ChannelEvent[-A, +B](channel: Channel[A], event: Event[B])

Immutable and type-safe representation of events that are triggered on a netty channel. A represents the inbound message type and B represents the outbound message type that's allowed on the channel.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def contramap[A1](f: A1 => A): ChannelEvent[A1, B]
def map[B1](f: B => B1): ChannelEvent[A, B1]

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product