6 references to ReadNumericHeader
Aspire.TestTools (6)
GitHubApiClient.cs (6)
353
=>
ReadNumericHeader
(response, "X-RateLimit-Remaining") == 0 ||
354
ReadNumericHeader
(response, "Retry-After") is not null || ReadRetryAfterDate(response) is not null;
358
double? seconds =
ReadNumericHeader
(response, "Retry-After");
364
if (seconds is null &&
ReadNumericHeader
(response, "X-RateLimit-Remaining") == 0 &&
365
ReadNumericHeader
(response, "X-RateLimit-Reset") is { } reset)
390
if (
ReadNumericHeader
(response, header) is { } number)