Table of Contents

UniqueContextResolver Method

Definition

UniqueContextResolver(HttpContext)

Resolves a unique context of the throttling middleware (eg. IP-address, Authorization header, etc.).

public abstract string UniqueContextResolver(HttpContext context)

Parameters

context HttpContext

The HttpContext to extract a unique context from.

Returns

string

A string that uniquely identifies the requester in need of throttling.