WebSockets Reference#
- Datatypes
- ws_init - initialize a WebSockets handle
- ws_cleanup - cleanup a WebSockets handle
- ws_set_url - set WebSockets URL
- ws_add_header - add HTTP header
- ws_start - kickstart WebSockets connection
- ws_easy_run - check pending WebSockets transfers
- ws_end - exit from a WebSockets connection
- ws_get_status - get client’s connection status
- ws_close_opcode_print - print CLOSE code as string
- ws_timestamp - get WebSockets current timestamp
- ws_timestamp_update - update WebSockets current timestamp
- ws_send_binary - send binary control-frame
- ws_send_text - send text control-frame
- ws_ping - send PING control-frame
- ws_pong - send PONG control-frame
- ws_close - send CLOSE control-frame