Skip to main content

Module http

Module http 

Source
Expand description

HTTP client for remote image loading

Structs§

HttpInitError
Error returned when the built-in HTTP client cannot be constructed.
SimpleHttpClient

Enums§

HttpSetup
Controls how root initialization handles GPUI’s application-wide HTTP client.

Constants§

DEFAULT_USER_AGENT
User agent used by the built-in HTTP client.

Functions§

init_http
init_http_with_user_agent
try_init_http
Install the built-in HTTP client with DEFAULT_USER_AGENT.
try_init_http_with_user_agent
Install the built-in HTTP client with a caller-supplied user agent.