carta
wslay_event_config_set_allowed_rsv_bits(3)

wslay_event_config_set_allowed_rsv_bits3

Set allowed reserved bits

Overview

wslay_event_config_set_allowed_rsv_bits() sets a bit mask of allowed reserved bits (RSVs). Currently only permitted values are WSLAY_RSV1_BIT to allow PMCE extension (see RFC 7692) or WSLAY_RSV_NONE to disable.

When bits other than WSLAY_RSV1_BIT is set in rsv, those bits are simply ignored.

The set value is used to check the validity of reserved bits for both transmission and reception of WebSocket frames.

Return value

This function always succeeds, and there is no return value.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)

Author

Tatsuhiro Tsujikawa

From libwslay-doc 1.1.1-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.