wslay_event_set_error3
Set error code
Usage
#include <wslay/wslay.h>
- void wslay_event_set_error(wslay_event_context_ptr ctx, int val)
Overview
wslay_event_set_error() sets error code to tell the library there is an error. This function is typically used in user defined callback functions. See the description of callback function to know which error code should be used.
Return value
wslay_event_set_error() does not return value.
Releases
5 releases since Debian 10 (Buster); the text changed 4 times.