2 overrides of SendAsync
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
314public override ValueTask SendAsync(ReadOnlyMemory<byte> buffer, WebSocketMessageType messageType, bool endOfMessage, CancellationToken cancellationToken) =>
System.Net.WebSockets.Client (1)
System\Net\WebSockets\ClientWebSocket.cs (1)
148public override ValueTask SendAsync(ReadOnlyMemory<byte> buffer, WebSocketMessageType messageType, bool endOfMessage, CancellationToken cancellationToken) =>
7 references to SendAsync
Microsoft.AspNetCore.Http.Connections (3)
src\SignalR\common\Shared\WebSocketExtensions.cs (3)
19return webSocket.SendAsync(buffer.First, webSocketMessageType, endOfMessage: true, cancellationToken); 48await webSocket.SendAsync(prevSegment, webSocketMessageType, endOfMessage: false, cancellationToken).ConfigureAwait(false); 59await webSocket.SendAsync(prevSegment, webSocketMessageType, endOfMessage: true, cancellationToken).ConfigureAwait(false);
Microsoft.AspNetCore.TestHost.Tests (1)
WebSocketClientTests.cs (1)
72await websocket.SendAsync(buffer.AsMemory(0, res.Count), System.Net.WebSockets.WebSocketMessageType.Binary, true, default);
Microsoft.AspNetCore.WebSockets.Tests (1)
WebSocketCompressionMiddlewareTests.cs (1)
130await webSocket.SendAsync(serverBuffer.AsMemory(0, result.Count), result.MessageType, result.EndOfMessage, default);
System.Net.WebSockets (1)
System\Net\WebSockets\WebSocket.cs (1)
63return SendAsync(buffer, messageType, messageFlags.HasFlag(WebSocketMessageFlags.EndOfMessage), cancellationToken);
System.Net.WebSockets.Client (1)
System\Net\WebSockets\ClientWebSocket.cs (1)
149ConnectedWebSocket.SendAsync(buffer, messageType, endOfMessage, cancellationToken);