Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

wslay_event_shutdown_read - Disable read operation

Author

       Tatsuhiro Tsujikawa

Description

wslay_event_shutdown_read() prevents the event-based API context from reading any further data from peer.

       This  function  may  be  used with wslay_event_queue_close() if the application detects error in the data
       received and wants to fail WebSocket connection.

Name

       wslay_event_shutdown_read - Disable read operation

See Also

wslay_event_get_read_enabled()

Synopsis

       #include <wslay/wslay.h>

       voidwslay_event_shutdown_read(wslay_event_context_ptrctx)

See Also