Skip to content

Commit

Permalink
docs: update UseHeaderPriorityResolver documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ruiqbarbosa committed Feb 7, 2024
1 parent 92f085f commit eb635f7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ public AdaptativeLimiterOptions UseHeaderPriorityResolver()
=> this.UseHeaderPriorityResolver(HttpHeaderPriorityResolver.DefaultPriorityHeaderName);

/// <summary>
/// Sets the HttpHeaderPriorityResolver, it converts the header {{headerName}} to the request priority (critical, normal, noncritical).
/// Configures the priority resolver based on a specific HTTP header.
/// </summary>
/// <param name="headerName">The name of the header with the priority value.</param>
/// <returns>AdaptativeLimiterOptions</returns>
/// <param name="headerName">The name of the HTTP header to be used for determining the priority.</param>
/// <returns>The adaptive limiter configuration options.</returns>
public AdaptativeLimiterOptions UseHeaderPriorityResolver(string headerName)
=> this.UsePriorityResolver(new HttpHeaderPriorityResolver(headerName));

Expand Down

0 comments on commit eb635f7

Please sign in to comment.