Provides factory for WebSocketFrame
.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
WebSocketFrame.type
Members list
Value members
Concrete methods
Creates WebSocket frame using supplied attributes.
Creates WebSocket frame using supplied attributes.
Value parameters
- isCompressed
-
indicates compression
- isFinal
-
indicates final frame of message
- key
-
masking key
- length
-
payload length
- opcode
-
frame opcode
- payload
-
input stream to payload
Attributes
Creates WebSocket frame using supplied attributes.
Creates WebSocket frame using supplied attributes.
Value parameters
- data
-
unmasked payload data
- isCompressed
-
indicates compression
- isFinal
-
indicates final frame of message
- key
-
masking key
- length
-
payload length
- opcode
-
frame opcode
Attributes
- Note
-
If there is
Some
masking key, it is used to maskdata
.
Creates WebSocket frame using supplied attributes.
Creates WebSocket frame using supplied attributes.
Value parameters
- data
-
unmasked payload data
- isCompressed
-
indicates compression
- isFinal
-
indicates final frame of message
- key
-
masking key
- opcode
-
frame opcode
Attributes
- Note
-
If there is
Some
masking key, it is used to maskdata
.
Creates Close frame using supplied status code.
Creates Close frame using supplied status code.
Value parameters
- key
-
masking key
- statusCode
-
status code to serve as payload
Attributes
- Note
-
If there is
Some
masking key, it is used to mask status code.