Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

wslay_event_config_set_allowed_rsv_bits - Set allowed reserved bits

Author

       Tatsuhiro Tsujikawa

Description

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  RFC7692)  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.

Name

       wslay_event_config_set_allowed_rsv_bits - Set allowed reserved bits

Return Value

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

See Also

wslay_event_queue_fragmented_msg(), wslay_event_queue_fragmented_msg_ex()

Synopsis

       #include <wslay/wslay.h>

       voidwslay_event_config_set_allowed_rsv_bits(wslay_event_context_ptrctx,uint8_trsv)

See Also