Close the connection for writing
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
Close this connection's write side such that further write requests won't succeed. Note that this has the effect of closing the read side of the peer connection. When the connection's read side and write side are closed, the connection is considered disconnected and will transition to the appropriate state.