Import with #import "std/http_get_linux".

HttpsUrl :: (url: string) -> bool
GetHttps :: (url: string, output: []u8) -> CaptureResult

Native HTTPS GET. curl owns TLS and redirects; the caller owns storage and passes a URL it trusts. GetHttpsCapped validates the URL and refuses an oversized body.

GetHttpsCapped :: (url: string, maximum: s64, output: []u8) -> CaptureResult

Native HTTPS GET with an explicit body limit. A body over the limit is refused as TooLarge and never returned as a truncated success.

Source ↗ · All modules