---
name: "wslay_event_shutdown_write"
section: "3"
platform: "linux"
package: "libwslay"
version: "1.1.1-7"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/wslay_event_shutdown_write"
---

# wslay\_event\_shutdown\_write(3)

Disable write operation

## NAME

wslay\_event\_shutdown\_write - Disable write operation

## SYNOPSIS

\#include \<wslay/wslay.h\>

- **void wslay\_event\_shutdown\_write(wslay\_event\_context\_ptr *ctx*)**

  ## DESCRIPTION

*wslay\_event\_shutdown\_write()* prevents the event-based API context from sending any further data to peer.

## SEE ALSO

**wslay\_event\_get\_write\_enabled()**

## AUTHOR

Tatsuhiro Tsujikawa

## COPYRIGHT

2012, 2015, Tatsuhiro Tsujikawa
