SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration

Detailed Description

WebSocket Opcodes.

RFC6455 Page 29 - Opcode - 4 bits

WebSocket Opcodes with FIN=1. We do not manage WebSocket fragments (FIN=0/1) since it is rarely used and the complexity is not something you want in a tiny device.

Macros

#define WSOP_Text   0x81
 Text. More...
 
#define WSOP_Binary   0x82
 Binary. More...
 
#define WSOP_Close   0x88
 RFC6455 5.5 - Control Frame - Close. More...
 
#define WSOP_Ping   0x89
 RFC6455 5.5 - Control Frame - Ping. More...
 
#define WSOP_Pong   0x8A
 RFC6455 5.5 - Control Frame - Pong. More...
 

Macro Definition Documentation

◆ WSOP_Binary

#define WSOP_Binary   0x82

Binary.

◆ WSOP_Close

#define WSOP_Close   0x88

RFC6455 5.5 - Control Frame - Close.

◆ WSOP_Ping

#define WSOP_Ping   0x89

RFC6455 5.5 - Control Frame - Ping.

◆ WSOP_Pong

#define WSOP_Pong   0x8A

RFC6455 5.5 - Control Frame - Pong.

◆ WSOP_Text

#define WSOP_Text   0x81

Text.