Packages

final class WebSocketProtocol[B] extends AnyRef

See also

https://tools.ietf.org/html/rfc6455

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WebSocketProtocol
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WebSocketProtocol()(implicit arg0: BytesLike[B])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addIntention[T](request: Request[T], intention: Intention): Request[T]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  7. def decodeFrame(data: B): ((B, DecodingState), Action[B, Frame[B]])
  8. def decodeFrames(buffer: B, state: DecodingState, incoming: B): ((B, DecodingState), Action[B, Frame[B]])
    Annotations
    @tailrec()
  9. def decodeFrames[F[_]](decoder: Decoder[F, B])(implicit arg0: Effect[F]): Decoder[F, Frame[B]]
  10. def encodeFrame(fin: Boolean, maybeMask: Option[Int], opcode: Int, payload: B): B
  11. def encodeFrame(frame: Frame[B], maybeMask: Option[Int]): B
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def findIntention(request: Head): Option[Intention]
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def handshake[T](response: Response[T], intention: Intention): Response[T]
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def mergeFrames(buffer: Option[Merged[B]], incoming: Frame[B]): (Option[Merged[B]], Action[Frame[B], Merged[B]])

    https://tools.ietf.org/html/rfc6455#section-5.4

  20. def mergeFrames[F[_]](decoder: Decoder[F, Frame[B]])(implicit arg0: Effect[F]): Decoder[F, Merged[B]]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def upgrade[F[_]](intention: Intention)(f: (Request[Stream[F, Merged[B]]]) ⇒ F[Response[Stream[F, Merged[B]]]])(implicit arg0: Effect[F]): (Request[Stream[F, B]]) ⇒ F[Response[Stream[F, B]]]

    Upgrade Request/Response with raw bytes to WebSocket protocol and insert handshake headers.

    Upgrade Request/Response with raw bytes to WebSocket protocol and insert handshake headers. Fragments will be merged to single frames.

  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped