5 instantiations of NegotiationResponse
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
409var response = new NegotiationResponse();
Microsoft.AspNetCore.Http.Connections.Common (1)
NegotiateProtocol.cs (1)
255return new NegotiationResponse
Microsoft.AspNetCore.Http.Connections.Tests (2)
NegotiateProtocolTests.cs (2)
92NegotiateProtocol.WriteResponse(new NegotiationResponse(), writer); 105NegotiateProtocol.WriteResponse(new NegotiationResponse
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
NegotiateProtocolBenchmark.cs (1)
25_negotiateResponse = new NegotiationResponse
19 references to NegotiationResponse
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
409var response = new NegotiationResponse();
Microsoft.AspNetCore.Http.Connections.Client (5)
HttpConnection.cs (5)
326NegotiationResponse? negotiationResponse; 439private async Task<NegotiationResponse> NegotiateAsync(Uri url, HttpClient httpClient, ILogger logger, CancellationToken cancellationToken) 485var negotiateResponse = NegotiateProtocol.ParseResponse(responseBuffer); 709private async Task<NegotiationResponse> GetNegotiationResponseAsync(Uri uri, CancellationToken cancellationToken) 711var negotiationResponse = await NegotiateAsync(uri, _httpClient!, _logger, cancellationToken).ConfigureAwait(false);
Microsoft.AspNetCore.Http.Connections.Common (6)
AvailableTransport.cs (1)
9/// Part of the <see cref="NegotiationResponse"/> that represents an individual transport and the trasfer formats the transport supports.
NegotiateProtocol.cs (5)
48public static void WriteResponse(NegotiationResponse response, IBufferWriter<byte> output) 142/// Parses a <see cref="NegotiationResponse"/> from the <paramref name="content"/> as Json. 144/// <param name="content">The bytes of a Json payload that represents a <see cref="NegotiationResponse"/>.</param> 145/// <returns>The parsed <see cref="NegotiationResponse"/>.</returns> 146public static NegotiationResponse ParseResponse(ReadOnlySpan<byte> content)
Microsoft.AspNetCore.Http.Connections.Tests (6)
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 (1)
32var response = NegotiateProtocol.ParseResponse(responseData);
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
NegotiateProtocolBenchmark.cs (1)
13private NegotiationResponse _negotiateResponse;