Refit.RefitRequestsSettings
Configures requests for a Refit client.
public Func<HttpRequestMessage, CancellationToken, ValueTask<string>> AuthorizationHeaderValueGetter { get; set; }
Gets or sets the token getter for a declared Authorization header without a token.
Gets or sets a value indicating whether the current call's argument values are captured, in declared
parameter order, into the MethodArguments request option so a
DelegatingHandler can inspect them (defaults to false).
Gets or sets a custom inner HttpMessageHandler. Does not work if you supply an HttpClient instance.
Gets or initializes local values copied into every request's options on modern .NET, or properties on .NET Framework.
Gets the return-type adapters the opt-in reflection request builder uses to surface custom return
shapes (for example IObservable<T> or Result<T>) from interface methods.
Gets or sets a value indicating whether header values are validated against the framework's header parsers
when they are applied to a request (defaults to false).
public RefitRequestsSettings()