Packages

c

org.http4s.websocket

FrameTranscoder

class FrameTranscoder extends AnyRef

Source
FrameTranscoder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FrameTranscoder
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FrameTranscoder(isClient: Boolean)

Value Members

  1. def bufferToFrame(in: ByteBuffer): WebSocketFrame

    Method that decodes ByteBuffers to objects.

    Method that decodes ByteBuffers to objects. None reflects not enough data to decode a message Any unused data in the ByteBuffer will be recycled and available for the next read

    in

    ByteBuffer of immediately available data

    returns

    optional message if enough data was available

  2. def frameToBuffer(in: WebSocketFrame): Array[ByteBuffer]
  3. val isClient: Boolean