This extends PR #8 with support for proxy-wasm modules created with the CPP-sdk. The changes include:
Extension of the user API to make calls to all cpp functions exported by the wasm module.
Base wasmtime::Func implementations for all cpp-specific functions exported by the host environment.
High-level testing through combination calls such as http_request(..) which makes several calls to the wasm-module and enables the user to set high-level expectations (changing the default simulator responses) that are not immediately consumed upon a host function call.
Fixed high-level expectation back-end: replacing the use of HashMap with Vec for header map pairs to maintain consistency of header map expectations and the order in which the pairs are returned to the wasm module.
The framing of host-side functions still require implementation before testing on any proxy-wasm module can be done.
This extends PR #8 with support for proxy-wasm modules created with the CPP-sdk. The changes include:
The framing of host-side functions still require implementation before testing on any proxy-wasm module can be done.