10 references to Set
Microsoft.AspNetCore.Components.WebAssembly (3)
Http\WebAssemblyHttpRequestMessageExtensions.cs (3)
127
requestMessage.Options.
Set
(FetchRequestOptionsKey, fetchOptions);
150
requestMessage.Options.
Set
(WebAssemblyEnableStreamingRequestKey, streamingEnabled);
169
requestMessage.Options.
Set
(WebAssemblyEnableStreamingResponseKey, streamingEnabled);
Microsoft.AspNetCore.Http.Connections.Client (2)
HttpConnection.cs (2)
479
request.Options.
Set
(new HttpRequestOptionsKey<bool>("IsNegotiate"), true);
765
request.Options.
Set
(new HttpRequestOptionsKey<bool>("IsRefresh"), true);
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
163
redirect.Options.
Set
(key, property.Value);
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
HttpResilienceBenchmark.cs (1)
28
request.Options.
Set
(new HttpRequestOptionsKey<string>("dummy"), "dummy");
NuGet.Protocol (2)
HttpSource\HttpRequestMessageExtensions.cs (1)
125
request.Options.
Set
(new HttpRequestOptionsKey<HttpRequestMessageConfiguration>(NuGetConfigurationKey), configuration);
HttpSource\HttpRetryHandler.cs (1)
109
requestMessage.Options.
Set
(new HttpRequestOptionsKey<List<Stopwatch>>(StopwatchPropertyName), stopwatches);
System.Net.Http (1)
System\Net\Http\Metrics\HttpMetricsEnrichmentContext.cs (1)
84
options.
Set
(s_optionsKeyForCallbacks, [callback]);