<PackageReference Include="Refit" Version="15.0.0" />

Refit.PropertyAttribute

public sealed class PropertyAttribute : Attribute
Used to store the value in HttpRequestMessage.Properties for further processing in a custom DelegatingHandler. If a string is supplied to the constructor then it will be used as the key in the HttpRequestMessage.Properties dictionary. If no key is specified then the key will be defaulted to the name of the parameter.
public string Key { get; }

Gets the key under which to store the value on the HttpRequestMessage.Properties dictionary.

Initializes a new instance of the PropertyAttribute class.

public PropertyAttribute(string key)

Initializes a new instance of the PropertyAttribute class.