Method CloseOutputAsync
CloseOutputAsync(WebSocketCloseStatus, string?, CancellationToken)
Closes the output stream of the WebSocket asynchronously.
public abstract Task CloseOutputAsync(WebSocketCloseStatus closeStatus, string? reason, CancellationToken cancellation)
Parameters
closeStatusWebSocketCloseStatusThe status code for closing the WebSocket.
reasonstringThe reason for closing the WebSocket.
cancellationCancellationTokenThe cancellation token.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語