Module cargo_registry::http [] [src]

Functions

github

Does all the nonsense for sending a GET to Github. Doesn't handle parsing because custom error-code handling may be desirable. Use parse_github_response to handle the "common" processing of responses.

parse_github_response

Checks for normal responses

token

Gets a token with the given string as the access token, but all other info null'd out. Generally, just to be fed to the github fn.