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