Skip to main content

Module client

Module client 

Source
Expand description

The HTTP client every other module and both front-ends (CLI, and later MCP) go through.

Structs§

GitFoxClient
A GitFox API client bound to one host.
GitFoxClientBuilder
Method
The Request Method (VERB)
Query
A percent-encoded query string.
RawResponse
A response that succeeded at the HTTP level, kept in both raw and parsed form so gf api can pass anything through untouched.

Constants§

DEFAULT_RETRIES
Attempts after the first, for requests that are safe to repeat.
DEFAULT_TIMEOUT_SECS

Functions§

is_retryable_method
Whether repeating this method is safe.
normalize_host
Turn whatever the user configured into a base URL that Url::join behaves well against: git.example.com -> https://git.example.com/.