Burrito.Util (burrito v1.6.0)
View SourceSummary
Functions
Gets the HTTP or HTTPS proxy from environment variables, if set.
Checks if the application is currently running as a standalone Burrito release, or via some other mechanism,
such as an escript.
Functions
@spec get_current_os() :: :darwin | :linux | :windows
@spec get_otp_version() :: String.t()
@spec get_proxy() :: URI.t() | nil
Gets the HTTP or HTTPS proxy from environment variables, if set.
- Checks
HTTP_PROXYandhttp_proxy - Checks
HTTPS_PROXYandhttps_proxy - Returns
nilif no proxy is set
@spec running_standalone?() :: boolean()
Checks if the application is currently running as a standalone Burrito release, or via some other mechanism,
such as an escript.