You are viewing documentation for a previous version of this software.

Switch to the latest stable version.

WebSocket.OpCode


ENUM

WebSocket.OpCode

Swift
1public enum OpCode : UInt8

Cases

continueFrame

Swift
1case continueFrame = 0x0

textFrame

Swift
1case textFrame = 0x1

binaryFrame

Swift
1case binaryFrame = 0x2

connectionClose

Swift
1case connectionClose = 0x8

ping

Swift
1case ping = 0x9

pong

Swift
1case pong = 0xA
Feedback

Edit on GitHub

Forums