WebSocketFrame constructor

WebSocketFrame(
  1. OpCode opcode, {
  2. required Uint8List payload,
  3. bool mask = true,
})

Implementation

WebSocketFrame(this.opcode, {required this.payload, this.mask = true});