Class HttpServerEngineWebSocket
Namespace: Sisk.Core.Http.Engine
Assembly: Sisk.Core.dll
Provides an abstract base class for WebSocket contexts.
public abstract class HttpServerEngineWebSocket
Inheritance
object ← HttpServerEngineWebSocket
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Properties
Gets the state of the WebSocket.
Methods
CloseAsync(WebSocketCloseStatus, string?, CancellationToken)
Closes the WebSocket connection asynchronously.
CloseOutputAsync(WebSocketCloseStatus, string?, CancellationToken)
Closes the output stream of the WebSocket asynchronously.
ReceiveAsync(Memory<byte>, CancellationToken)
Receives data from the WebSocket asynchronously.
SendAsync(ReadOnlyMemory<byte>, WebSocketMessageType, bool, CancellationToken)
Sends data over the WebSocket asynchronously.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語