MCPcopy Create free account
hub / github.com/ShadowsocksR-Live/shadowsocksr-native / ws_frame_binary_final

Function ws_frame_binary_final

src/websocket_basic.h:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98static inline void ws_frame_binary_final(bool masking, ws_frame_info *info) {
99 info->opcode = WS_OPCODE_CONTINUATION;
100 info->fin = true;
101 info->masking = masking;
102}
103
104static inline void ws_frame_binary_alone(bool masking, ws_frame_info *info) {
105 info->opcode = WS_OPCODE_BINARY;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected