You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set_shared_data(key, None, None) can be used to delete the key, but knowing this is a low-level ABI detail and it shouldn't be leaked to the SDK, so I've added remove_shared_data() (#307).
Note that some hosts will remove the key (e.g. NGINX), while others will only remove the key's value (e.g. Envoy).
I am building a rust filter and using the shared data, I noticed that we have implementations of:
https://github.com/proxy-wasm/proxy-wasm-rust-sdk/blob/main/src/traits.rs#L32
get_shared_data and set_shared_data
I need a way to delete the key. I couldn't find a function do do that.
Can someone please share an example?
Thanks in advance!
The text was updated successfully, but these errors were encountered: