#proxy #sdk #wasm-plugin #extension #version #leaksignal

proxy-sdk

Write extensions for Proxy-WASM for WASM or Native environments

2 stable releases

1.1.0 Sep 13, 2024
1.0.0 Feb 27, 2024

#655 in WebAssembly

46 downloads per month

Apache-2.0

170KB
4.5K SLoC

Proxy-SDK

A rewrite of the proxy-wasm rust crate. Has improved ergonomics, more type safety, and documentation.

Proxy->WASM Calls Not Implemented

  • validate_configuration: Seems unused
  • on_request_metadata: Unused
  • on_response_metadata: Unused
  • on_grpc_create_initial_metadata: Never called/incompletely defined in proxy-wasm-cpp-host
  • on_foreign_function: Never called from Envoy outside of tests

Feature Flags

  • stream-metadata, if enabled, enables GRPC metadata callbacks. Known to cause crashes in some versions of Envoy.

Dependencies

~3–9MB
~96K SLoC