33 references to CreateResponse
Microsoft.AspNetCore.SignalR.Client.Tests (33)
HttpConnectionTests.ConnectionLifecycle.cs (1)
521
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent());
HttpConnectionTests.cs (2)
80
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
176
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent());
HttpConnectionTests.Negotiate.cs (16)
76
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
99
testHttpHandler.OnNegotiate((request, cancellationToken) => ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
135
testHttpHandler.OnNegotiate((request, cancellationToken) => ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
172
testHttpHandler.OnNegotiate((request, cancellationToken) => ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
213
testHttpHandler.OnNegotiate((request, cancellationToken) => ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
257
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
264
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
313
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
349
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
363
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
424
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
432
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
487
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
536
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
586
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK,
609
testHttpHandler.OnNegotiate((_, cancellationToken) => ResponseUtils.
CreateResponse
(HttpStatusCode.OK, negotiatePayload));
HttpConnectionTests.Transport.cs (10)
39
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent());
87
testHttpHandler.OnNegotiate((_, cancellationToken) => ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent()));
114
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent());
162
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent());
207
var resp = ResponseUtils.
CreateResponse
(HttpStatusCode.OK, messageFragments[requestCount]);
354
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent());
375
var resp = ResponseUtils.
CreateResponse
(HttpStatusCode.OK, messageFragments[pollCount / 2]);
428
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent());
463
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent());
524
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent());
LongPollingTransportTests.cs (2)
117
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, "Hello");
128
return ResponseUtils.
CreateResponse
(HttpStatusCode.OK, "World");
ResponseUtils.cs (1)
18
CreateResponse
(statusCode, string.Empty);
TestHttpMessageHandler.cs (1)
44
OnNegotiate((_, cancellationToken) => ResponseUtils.
CreateResponse
(HttpStatusCode.OK, ResponseUtils.CreateNegotiationContent()));