Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 238 Bytes

File metadata and controls

13 lines (10 loc) · 238 Bytes

net Module

HTTP helpers.

Functions

  • http_get(url str) -> str | error: Performs a blocking GET request and returns the response text.

Example

load net
body = net.http_get("https://example.com")?
out(len(body))