1 write to SendingToken
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
651SendingToken = _sendCts.Token;
5 references to SendingToken
Microsoft.AspNetCore.Http.Connections (5)
Internal\Transports\LongPollingServerTransport.cs (2)
58await context.Response.Body.WriteAsync(buffer, _connection?.SendingToken ?? default); 90else if (_connection?.SendingToken.IsCancellationRequested == true)
Internal\Transports\ServerSentEventsServerTransport.cs (1)
66await ServerSentEventsMessageFormatter.WriteMessageAsync(buffer, context.Response.Body, _connection?.SendingToken ?? default);
Internal\Transports\WebSocketsServerTransport.cs (2)
235await socket.SendAsync(buffer, webSocketMessageType, _connection.SendingToken); 242catch (OperationCanceledException ex) when (ex.CancellationToken == _connection.SendingToken)