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

Refit.HttpRequestMessageOptions

public static class HttpRequestMessageOptions
Contains Refit-defined properties on the HttpRequestMessage.Properties/Options.
public static string InterfaceType { get; }

Gets the property key for the top-level interface type the method was called from.

public static string MethodArguments { get; }

Gets the property key under which the current call's argument values are stored as an object?[].

public static string MethodName { get; }

Gets the property key for the Refit interface method's name. Populated on every request.

public static string RelativePathTemplate { get; }

Gets the property key for the raw route template with {placeholders} (not the filled URL). This is the low-cardinality value suited to logging, metrics, and tracing. Populated on every request.

public static string RequestContent { get; }

Gets the property key under which the captured request body string is stored for RequestContent.

public static string RestMethodInfo { get; }

Gets the property key for the rest method info of the top-level interface.