Class AnthropicHeaders
- Namespace
- AnthropicClient.Models
- Assembly
- AnthropicClient.dll
Represents headers included in Anthropic API responses.
public class AnthropicHeaders
- Inheritance
-
AnthropicHeaders
- Inherited Members
Constructors
AnthropicHeaders(HttpResponseHeaders)
Initializes a new instance of the AnthropicHeaders class.
public AnthropicHeaders(HttpResponseHeaders headers)
Parameters
headers
HttpResponseHeadersThe HTTP response headers.
Properties
RateLimitRequestsLimit
Gets the rate limit requests limit.
public int RateLimitRequestsLimit { get; init; }
Property Value
RateLimitRequestsRemaining
Gets the rate limit requests remaining.
public int RateLimitRequestsRemaining { get; init; }
Property Value
RateLimitRequestsReset
Gets the time of the rate limit requests reset.
public DateTimeOffset RateLimitRequestsReset { get; init; }
Property Value
RateLimitTokensLimit
Gets the rate limit tokens limit.
public int RateLimitTokensLimit { get; init; }
Property Value
RateLimitTokensRemaining
Gets the rate limit tokens remaining.
public int RateLimitTokensRemaining { get; init; }
Property Value
RateLimitTokensReset
Gets the time of the rate limit tokens reset.
public DateTimeOffset RateLimitTokensReset { get; init; }
Property Value
RequestId
Gets the request ID.
public string RequestId { get; init; }
Property Value
RetryAfter
Gets the retry after value.
public int RetryAfter { get; init; }