Skip to content

Commit 939edca

Browse files
Update README.md
1 parent 25686bc commit 939edca

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,27 @@ public long GetRateLimitResetDateTime_UnixEpochSeconds(HttpResponseHeaders httpR
121121
- Get the Date Time when the GitHub API rate limit resets
122122
- Parses the `X-RateLimit-Reset` header and returns its `long` value in [Unix Epoch Seconds](https://www.epochconverter.com)
123123

124+
### DoesContainGitHubRateLimitHeader
125+
126+
```csharp
127+
public static bool DoesContainGitHubRateLimitHeader(this HttpResponseHeaders headers)
128+
```
129+
- Returns whether HttpResponseHeaders Contain X-RateLimit-Limit
130+
131+
### DoesContainGitHubRateLimitResetHeader
132+
133+
```csharp
134+
public static bool DoesContainGitHubRateLimitResetHeader(this HttpResponseHeaders headers)
135+
```
136+
- Returns whether HttpResponseHeaders Contain X-RateLimit-Reset
137+
138+
### DoesContainGitHubRateLimitRemainingHeader
139+
140+
```csharp
141+
public static bool DoesContainGitHubRateLimitRemainingHeader(this HttpResponseHeaders headers)
142+
```
143+
- Returns whether HttpResponseHeaders Contain X-RateLimit-Remaining
144+
124145
## GitHubApiStatus.Extensions API
125146

126147
#### AddGitHubApiStatusService
@@ -366,4 +387,4 @@ class GitHubApiStatusFunction
366387
return new OkObjectResult(apiStatus);
367388
}
368389
}
369-
```
390+
```

0 commit comments

Comments
 (0)