final class WebSocketProtocol[B] extends AnyRef
- See also
https://tools.ietf.org/html/rfc6455
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WebSocketProtocol
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new WebSocketProtocol()(implicit arg0: BytesLike[B])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addIntention[T](request: Request[T], intention: Intention): Request[T]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def decodeFrame(data: B): ((B, DecodingState), Action[B, Frame[B]])
-
def
decodeFrames(buffer: B, state: DecodingState, incoming: B): ((B, DecodingState), Action[B, Frame[B]])
- Annotations
- @tailrec()
- def decodeFrames[F[_]](decoder: Decoder[F, B])(implicit arg0: Effect[F]): Decoder[F, Frame[B]]
- def encodeFrame(fin: Boolean, maybeMask: Option[Int], opcode: Int, payload: B): B
- def encodeFrame(frame: Frame[B], maybeMask: Option[Int]): B
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def findIntention(request: Head): Option[Intention]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def handshake[T](response: Response[T], intention: Intention): Response[T]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- def mergeFrames[F[_]](decoder: Decoder[F, Frame[B]])(implicit arg0: Effect[F]): Decoder[F, Merged[B]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
upgrade[F[_]](intention: Intention)(f: (Request[Stream[F, Merged[B]]]) ⇒ F[Response[Stream[F, Merged[B]]]])(implicit arg0: Effect[F]): (Request[LazyBytes[F]]) ⇒ F[Response[LazyBytes[F]]]
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.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()