docs: baked a lot of API docs

This commit is contained in:
Zef Hemel
2026-08-06 14:48:21 +02:00
parent 9b4de31ca3
commit 754e8525b9
36 changed files with 4888 additions and 49 deletions
+21 -1
View File
@@ -10,4 +10,24 @@ HTTP APIs
> **warning** Warning
> Deprecated: use [[API/net]] instead.
${spacelua.renderApiDocumentation("http")}
<!--#lua spacelua.renderApiDocumentation("http") -->
## http.request
`http.request(url, options?)`
> **Deprecated:** Use net.proxyFetch instead.
Performs an authenticated HTTP request through the server proxy.
**Parameters:**
- `url` (`string`) — Target URL.
- `options?` (`table`) — Method, headers, body, and response encoding.
**Returns:**
- `table` — Status, headers, and decoded response body.
**See:** [[API/net#net.proxyFetch(url, options?)]]
<!--/lua-->