std1.0.0-beta-7 SafeC docs

std :: http::websocket

Struct std::WsMessage

#include <std/http/websocket.h> source

struct WsMessage {
    int opcode;
    ?&heap unsigned char data;
    unsigned long len;
}

Fields

§int opcodesource

one of the WS_OPCODE_* constants above

§?&heap unsigned char datasource

heap-owned; empty (null)/0-length for e.g. a bare ping

§unsigned long lensource

Methods

§void drop()source · definition
§void free() consumesource · definition

= drop()