Module host_io

Source
Expand description

§Host IO modules.

This module contains IO modules, providing IO operations to the guest handled by the host runtime. The interfaces are blocking from the guest’s perspective, but the host runtime executes the IO asynchronously without blocking the host thread when guest is waiting for IO.

Modules§

access_log
Provides a simple access log for the gateway.
cache
A key-value cache shared with all instances of the extension.
http
A module for executing HTTP requests using a client that operates within the host runtime. Functions are synchronous from the guest’s perspective, yet they run asynchronously on the host side. While waiting for request completion, the host thread can execute other tasks concurrently.