Method SendAsync
Namespace: Sisk.Core.Http.Engine
Assembly: Sisk.Core.dll
SendAsync(ReadOnlyMemory<byte>, WebSocketMessageType, bool, CancellationToken)
Sends data over the WebSocket asynchronously.
public abstract ValueTask SendAsync(ReadOnlyMemory<byte> buffer, WebSocketMessageType messageType, bool endOfMessage, CancellationToken cancellationToken)
Parameters
buffer ReadOnlyMemory<byte>
The buffer containing the data to send.
messageType WebSocketMessageType
The type of message to send.
endOfMessage bool
A value indicating whether this is the end of the message.
cancellationToken CancellationToken
The cancellation token.
Returns
A ValueTask representing the asynchronous operation.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語