DOKK / manpages / debian 12 / libwslay-doc / wslay_event_config_set_no_buffering.3.en
WSLAY_EVENT_CONFIG_SET_NO_BUFFERING(3) wslay WSLAY_EVENT_CONFIG_SET_NO_BUFFERING(3)

wslay_event_config_set_no_buffering - Enable or disable buffering of an entire message for non-control frames

#include <wslay/wslay.h>


wslay_event_config_set_no_buffering() enables or disables buffering of an entire message for non-control frames. If val is 0, buffering is enabled. Otherwise, buffering is disabled. If wslay_event_on_msg_recv_callback is invoked when buffering is disabled, the msg_length member of struct wslay_event_on_msg_recv_arg is set to 0.

The control frames are always buffered regardless of this function call.

This function must not be used after the first invocation of wslay_event_recv() function.

wslay_event_recv()

Tatsuhiro Tsujikawa

2021, 2015, Tatsuhiro Tsujikawa

November 7, 2021 @PACKAGE_VERSION@