Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http client choice #230

Open
GOVYANSONG opened this issue Apr 27, 2024 · 2 comments
Open

http client choice #230

GOVYANSONG opened this issue Apr 27, 2024 · 2 comments

Comments

@GOVYANSONG
Copy link

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,

@antonengelhardt
Copy link

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.

@foo4u
Copy link

foo4u commented May 23, 2024

@GOVYANSONG you should use dispatch_http_call to let Envoy handle the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants