API for interfacing with WebSockets (RFC8323)
More...
API for interfacing with WebSockets (RFC8323)
◆ coap_ws_is_supported()
int coap_ws_is_supported |
( |
void |
| ) |
|
Check whether WebSockets is available.
- Returns
1
if support for WebSockets is available, or 0
otherwise.
Definition at line 935 of file coap_ws.c.
◆ coap_ws_set_host_request()
Set the host for the HTTP Host: Header in the WebSockets Request.
- Returns
1
if successful, else 0
if failure of some sort.
Definition at line 945 of file coap_ws.c.
◆ coap_wss_is_supported()
int coap_wss_is_supported |
( |
void |
| ) |
|
Check whether Secure WebSockets is available.
- Returns
1
if support for Secure WebSockets is available, or 0
otherwise.
Definition at line 940 of file coap_ws.c.