VariablesMap.GetCommonProperties method

Populates the provided dictionary with common request and server properties from the Kestrun context.

public static bool GetCommonProperties(KestrunContext ctx, ref Dictionary<string, object?> vars)
parameter description
ctx The Kestrun context containing request information.
vars The dictionary to populate with common properties.

Return Value

True if properties were successfully mapped; otherwise, false.

See Also