Open GOVYANSONG opened 6 months ago
AFAIK, you can only make http calls using the built in proxy Wasm sdk methods, because the plugin is embedded into the envoy proxy and can only talk to the upstream clusters.
But I haven't tried it with reqwest-Wasm yet, so it'd be interesting to know if it works.
@GOVYANSONG you should use dispatch_http_call
to let Envoy handle the request.
只能使用dispatch_http_call
如果不想使用dispatch_http_call,那么使用dispatch_grpc_call或许是一个更好的选择
@GOVYANSONG 使用 grpc调用可以参考 #254
Hi team,
I am trying to understand how to best make http client call from inside wasm filter of envoy proxy. instead of dispatch_http_call, can I use reqwest-wasm instead because reqwest-wasm apparently supports wasm build target?
Thanks,