init(webSocketOpcode:)

Create a UInt8 corresponding to the integer value for a given WebSocketOpcode.

init(webSocketOpcode opcode: WebSocketOpcode)

Parameters

opcode

The WebSocketOpcode.