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_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