http.request
- description
- An HTTP request, like request of wasi:http/types (WASI 0.3) with the whole body as bytes (no streams and trailers). Without scheme and authority the request goes to the same origin (in a browser, the server of the page); without path_with_query the path is /
- type
Type
- expression
Record{ method: @http.method, scheme: Union{#none, #some(@http.scheme)}, authority: Union{#none, #some(String)}, path_with_query: Union{#none, #some(String)}, headers: List<@http.field>, body: List<Number> }- visibility
- public
http.request (project http, branch main, snapshot FuOge41aUHwwPZkx2JW6O-Emair6Jc-D5YsZf5cx6b0) id: 7zvdPZDl9XmwAy1BVJzs0XlvllutbnbUYuuAbW7NUEo content hash: WRONNYvG6abXZk6Dl1nBQ1S8g1yPgZLVUQKRsrodOoc