EnvelopeDecoder

lepus.client.EnvelopeDecoder
See theEnvelopeDecoder companion object

Attributes

Companion:
object
Source:
EnvelopeCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait EnvelopeCodec[T]
Self type

Members list

Concise view

Value members

Abstract methods

def decode(payload: ByteVector, contentType: Option[ShortString], contentEncoding: Option[ShortString]): Either[Throwable, A]

Attributes

Source:
EnvelopeCodec.scala

Concrete methods

final def decode(msg: MessageRaw): Either[Throwable, Message[A]]

Attributes

Source:
EnvelopeCodec.scala

Attributes

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

Attributes

Source:
EnvelopeCodec.scala
final def flatMap[B](f: A => EnvelopeDecoder[B]): EnvelopeDecoder[B]

Attributes

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

Attributes

Source:
EnvelopeCodec.scala