Class Protocols.WebSocket.Frame
- Variable data
 stringProtocols.WebSocket.Frame.data- Description
 Data part of the frame. Valid for frames of type FRAME_BINARY, FRAME_PING and FRAME_PONG.
- Variable fin
 boolProtocols.WebSocket.Frame.fin- Description
 Set to
1if this a final frame, i.e. the last frame of a fragmented message or a non-fragmentation frame.
- Variable opcode
 FRAMEProtocols.WebSocket.Frame.opcode
- Variable reason
 CLOSE_STATUSProtocols.WebSocket.Frame.reason- Description
 Only exists for frames of type FRAME_CLOSE.
- Variable text
 stringProtocols.WebSocket.Frame.text- Description
 Only exists for frames of type FRAME_TEXT.
- Method create
 Protocols.WebSocket.Frame Protocols.WebSocket.Frame(FRAMEopcode,void|string|CLOSE_STATUS)
Protocols.WebSocket.Frame Protocols.WebSocket.Frame(FRAME_TEXT,stringtext)
Protocols.WebSocket.Frame Protocols.WebSocket.Frame(FRAME_BINARY,string(8bit)data)
Protocols.WebSocket.Frame Protocols.WebSocket.Frame(FRAME_CLOSE,CLOSE_STATUSreason)
Protocols.WebSocket.Frame Protocols.WebSocket.Frame(FRAME_PING,string(8bit)data)
Protocols.WebSocket.Frame Protocols.WebSocket.Frame(FRAME_PONG,string(8bit)data)