Module github_rs::headers [] [src]

Helper functions for end users for GitHub response Headers

Functions

etag

Extract an ETag from the Headers if it exists

has_github_hookshot

Checks to see if a received payload from GitHub contains the GitHub-Hookshot header in the UserAgent.

last_modified

Extract the Last-Modified from the Headers if it exists

rate_limit

Extract however many requests the authenticated user can make from the Headers

rate_limit_remaining

Extract however many requests the authenticated user can do from the Headers

rate_limit_reset

Extract when the requests limit for the authenticated user is reset from the Headers