wslay_event_config_set_no_buffering(3)

wslay_event_config_set_no_buffering3

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

Usage

#include <wslay/wslay.h>

void wslay_event_config_set_no_buffering(wslay_event_context_ptr ctx, int val)

Overview

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.

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

Author

Tatsuhiro Tsujikawa

From libwslay 1.1.1-7 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.