EnvelopeCodec

lepus.client.EnvelopeCodec
See theEnvelopeCodec companion object
trait EnvelopeCodec[T] extends EnvelopeEncoder[T] with EnvelopeDecoder[T]

Attributes

Companion:
object
Source:
EnvelopeCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

final def contramap[A](f: A => T): EnvelopeEncoder[A]

Attributes

Inherited from:
EnvelopeEncoder
Source:
EnvelopeCodec.scala

Attributes

Inherited from:
EnvelopeDecoder
Source:
EnvelopeCodec.scala
final def decode(msg: MessageRaw): Either[Throwable, Message[A]]

Attributes

Inherited from:
EnvelopeDecoder
Source:
EnvelopeCodec.scala
def decode(payload: ByteVector, contentType: Option[ShortString], contentEncoding: Option[ShortString]): Either[Throwable, A]

Attributes

Inherited from:
EnvelopeDecoder
Source:
EnvelopeCodec.scala
final def emap[B](f: T => Either[Throwable, B]): EnvelopeDecoder[B]

Attributes

Inherited from:
EnvelopeDecoder
Source:
EnvelopeCodec.scala
final def encode(env: Envelope[T]): Envelope[ByteVector]

Attributes

Inherited from:
EnvelopeEncoder
Source:
EnvelopeCodec.scala
final def encode(msg: Message[T]): Message[ByteVector]

Attributes

Inherited from:
EnvelopeEncoder
Source:
EnvelopeCodec.scala
def encode(b: T): ByteVector

Attributes

Inherited from:
EnvelopeEncoder
Source:
EnvelopeCodec.scala
final def flatMap[B](f: T => EnvelopeDecoder[B]): EnvelopeDecoder[B]

Attributes

Inherited from:
EnvelopeDecoder
Source:
EnvelopeCodec.scala
final def map[B](f: T => B): EnvelopeDecoder[B]

Attributes

Inherited from:
EnvelopeDecoder
Source:
EnvelopeCodec.scala

Attributes

Inherited from:
EnvelopeEncoder
Source:
EnvelopeCodec.scala

Attributes

Inherited from:
EnvelopeEncoder
Source:
EnvelopeCodec.scala

Inherited fields