logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Tatsuhiro Tsujikawa

Description

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  structwslay_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.

Name

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

See Also

wslay_event_recv()

Synopsis

       #include <wslay/wslay.h>

       voidwslay_event_config_set_no_buffering(wslay_event_context_ptrctx,intval)

See Also