12 references to Set
Microsoft.AspNetCore.Components.WebAssembly (3)
Http\WebAssemblyHttpRequestMessageExtensions.cs (3)
127requestMessage.Options.Set(FetchRequestOptionsKey, fetchOptions); 150requestMessage.Options.Set(WebAssemblyEnableStreamingRequestKey, streamingEnabled); 169requestMessage.Options.Set(WebAssemblyEnableStreamingResponseKey, streamingEnabled);
Microsoft.AspNetCore.Http.Connections.Client (1)
HttpConnection.cs (1)
475request.Options.Set(new HttpRequestOptionsKey<bool>("IsNegotiate"), true);
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
163redirect.Options.Set(key, property.Value);
Microsoft.Extensions.Http.Polly.Tests (3)
HttpRequestMessageExtensionsTest.cs (3)
21request.Options.Set(new HttpRequestOptionsKey<Context>(HttpRequestMessageExtensions.PolicyExecutionContextKey), expected); 52request.Options.Set(new HttpRequestOptionsKey<Context>(HttpRequestMessageExtensions.PolicyExecutionContextKey), null); 91request.Options.Set(new HttpRequestOptionsKey<Context>(HttpRequestMessageExtensions.PolicyExecutionContextKey), new Context(Guid.NewGuid().ToString()));
Microsoft.Extensions.Http.Resilience (1)
Resilience\HttpResilienceHttpRequestMessageExtensions.cs (1)
53requestMessage.Options.Set(_resilienceContextKey, resilienceContext);
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
HttpResilienceBenchmark.cs (1)
28request.Options.Set(new HttpRequestOptionsKey<string>("dummy"), "dummy");
Microsoft.Extensions.Http.Resilience.Tests (2)
Resilience\RequestMessageSnapshotTests.cs (2)
70initialRequest.Options.Set(new HttpRequestOptionsKey<string>("C"), "C"); 71initialRequest.Options.Set(new HttpRequestOptionsKey<string>("D"), "D");