Skip to main content

Module http

Module http 

Source
Expand description

HTTP requests, through Extism’s http_request. Hammer allows only the hosts the manifest names under permissions.http, which the user approves at install; a request to any other fails.

Structs§

Response

Functions§

form
application/x-www-form-urlencoded form data from its fields.
request
Sends a request and waits for its response. A response of any status is Ok; Err means there was none, such as for a host the manifest does not name or a network that is down.