20 references to NegotiateProtocol
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionDispatcher.cs (2)
414
NegotiateProtocol
.WriteResponse(response, writer);
439
NegotiateProtocol
.WriteResponse(response, writer);
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
491
var negotiateResponse =
NegotiateProtocol
.ParseResponse(responseBuffer);
Microsoft.AspNetCore.Http.Connections.Tests (10)
HttpConnectionDispatcherTests.cs (5)
3278
var negotiateResponse =
NegotiateProtocol
.ParseResponse(stream.ToArray());
3340
var negotiateResponse =
NegotiateProtocol
.ParseResponse(stream.ToArray());
3440
var negotiateResponse =
NegotiateProtocol
.ParseResponse(stream.ToArray());
3479
var negotiateResponse =
NegotiateProtocol
.ParseResponse(stream.ToArray());
3553
var negotiateResponse =
NegotiateProtocol
.ParseResponse(stream.ToArray());
NegotiateProtocolTests.cs (5)
32
var response =
NegotiateProtocol
.ParseResponse(responseData);
62
var exception = Assert.Throws<InvalidDataException>(() =>
NegotiateProtocol
.ParseResponse(responseData));
82
var exception = Assert.Throws<InvalidDataException>(() =>
NegotiateProtocol
.ParseResponse(responseData));
92
NegotiateProtocol
.WriteResponse(new NegotiationResponse(), writer);
105
NegotiateProtocol
.WriteResponse(new NegotiationResponse
Microsoft.AspNetCore.SignalR.Microbenchmarks (7)
NegotiateProtocolBenchmark.cs (7)
49
NegotiateProtocol
.WriteResponse(_negotiateResponse, writer);
59
NegotiateProtocol
.WriteResponse(_negotiateResponse, writer);
70
=>
NegotiateProtocol
.ParseResponse(_responseData1);
74
=>
NegotiateProtocol
.ParseResponse(_responseData2);
78
=>
NegotiateProtocol
.ParseResponse(_responseData3);
82
=>
NegotiateProtocol
.ParseResponse(_responseData4);
86
=>
NegotiateProtocol
.ParseResponse(_responseData5);