7 references to OnLongPoll
Microsoft.AspNetCore.SignalR.Client.Tests (7)
HttpConnectionTests.ConnectionLifecycle.cs (1)
294
httpHandler.
OnLongPoll
(cancellationToken =>
HttpConnectionTests.Negotiate.cs (2)
279
testHttpHandler.
OnLongPoll
((token) =>
448
testHttpHandler.
OnLongPoll
((token) =>
HttpConnectionTests.Transport.cs (2)
232
testHttpHandler.
OnLongPoll
(cancellationToken => longPollTcs.Task);
360
testHttpHandler.
OnLongPoll
(async _ =>
TestHttpMessageHandler.cs (2)
109
testHttpMessageHandler.
OnLongPoll
(async cancellationToken =>
209
public void OnLongPoll(Func<CancellationToken, HttpResponseMessage> handler) =>
OnLongPoll
(cancellationToken => Task.FromResult(handler(cancellationToken)));