wslay_event_set_error - Set error code
Contents
Copyright
2024, 2015, Tatsuhiro Tsujikawa
@PACKAGE_VERSION@ Apr 22, 2024 WSLAY_EVENT_SET_ERROR(3)
Description
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.
Name
wslay_event_set_error - Set error code
Return Value
wslay_event_set_error() does not return value.
Synopsis
#include <wslay/wslay.h>
voidwslay_event_set_error(wslay_event_context_ptrctx,intval)