Constants§
- NO_BODY
- Represents empty body.
- NO_
HEADERS - Represents empty headers map.
- NO_
TRAILERS - Represents empty trailers map.
Functions§
- add_
map_ value - Adds a key-value pair to a given map.
- close_
stream - Terminates processing of a given stream, i.e. HTTP request or HTTP response.
- continue_
stream - Resumes processing of a given stream, i.e. HTTP request or HTTP response.
- define_
metric - dequeue_
shared_ queue - Returns data from the end of a given queue.
- dispatch_
http_ call - Dispatches an HTTP call to a given upstream.
- done
- Indicates to the host environment that Wasm VM side is done processing current context.
- enqueue_
shared_ queue - Adds a value to the front of a given queue.
- get_
buffer - Returns content from a given buffer.
- get_
current_ time - Returns current system time.
- get_map
- Returns all key-value pairs from a given map.
- get_
map_ value - Returns value of a given key from a given map.
- get_
metric - get_
property - Returns value of a property in the current context.
- get_
shared_ data - Returns shared data by key.
- increment_
metric - log
- Logs a message at a given log level.
- record_
metric - register_
shared_ queue - Registers a shared queue with a given name.
- resolve_
shared_ queue - Looks up for an existing shared queue with a given name.
- send_
http_ response - Sends HTTP response without forwarding request to the upstream.
- set_
buffer - Mutates content in a given buffer.
- set_
effective_ context - Changes the effective context.
- set_map
- Sets all key-value pairs in a given map.
- set_
map_ value - Sets / replaces / removes value of given key from a given map.
- set_
property - Sets property to a given value in the current context.
- set_
shared_ data - Sets shared data by key.
- set_
tick_ period - Sets the timer to a given period.