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

Q: Is it possible to plug-and-play with this? #22

Open
srenatus opened this issue Nov 9, 2021 · 3 comments
Open

Q: Is it possible to plug-and-play with this? #22

srenatus opened this issue Nov 9, 2021 · 3 comments

Comments

@srenatus
Copy link

srenatus commented Nov 9, 2021

Please bear with me, just wrapping my mind around how the WasmEdge stack works 😅

Right or wrong? To build, say, a kafka client library and use it to create a wasm module that wasmedge can run, I'd have to fork the existing client library, and swap out its internals, have it call the low-level tcp stream functions provided by this crate.

Thanks in advance!

@hydai
Copy link
Member

hydai commented Nov 9, 2021

Correct. Actually, we wrap the low-level socket operators as several tcp stream functions. To use the WASI-Socket feature, you will need to use this crate to replace the existing client library. Thanks.

@srenatus
Copy link
Author

srenatus commented Nov 9, 2021

Thanks!

Are there plans to expand the protocols supported on top of wasi_socket?

@juntao
Copy link
Member

juntao commented Nov 9, 2021

We would love to support more networking protocols in our extension. The most obvious one is SSL and HTTPS. Anything else we should consider? Thanks.

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