Crate pdk_proxy_wasm_stub

Crate pdk_proxy_wasm_stub 

Source
Expand description

§Proxy-Wasm Stub

This crate provides a stub implementation of the Proxy-Wasm framework. It allows to depend on and compile the Proxy-Wasm Rust SDK for non-wasm32 platforms.

Modules§

hostcalls
Host calls.
traits
Traits.
types
Types.

Macros§

main
Re-implementation of most of the function and types of https://github.com/proxy-wasm/proxy-wasm-rust-sdk without any extern function, so that they are able to compile in Windows ((https://github.com/rust-lang/rust/issues/86125)

Functions§

set_http_context
Sets the HTTP context.
set_log_level
Sets the log level.
set_root_context
Sets the root context.
set_stream_context
Sets the stream context.