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