str1 str2 ⇒ ∅
Downloads the contents of URL str1 to the local file str2.
str1 ⇒ str2
Retrieves the contents of URL str1 as str2.
dict ⇒ dict:http-response
Performs an HTTP request. Note that dict is can be a standard (untyped) dictionary but its fields will be validated like if it was a dict:http-request.
dict ⇒ ∅
Starts an HTTP server based on the configuration provided in dict.
dict is a dictionary containing the following keys:
- The address to bind the server to (default: 127.0.0.1).
- The port to bind the server to.
- A quotation with the following signature, used to handle all incoming requests: dict:http-request ⇒ dict:http-response
∅ ⇒ ∅
Stops the currently-running HTTP server. This operator should be used within an HTTP server handler quotation.