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

Simple example #1

Open
flosse opened this issue May 18, 2018 · 5 comments
Open

Simple example #1

flosse opened this issue May 18, 2018 · 5 comments

Comments

@flosse
Copy link

flosse commented May 18, 2018

Great to see there is a tokio based wamp crate!
Would you mind to add a simple example? I'd be interested to combine it with tokio-tungstenite but any other create would do it too :)

@zrneely
Copy link
Owner

zrneely commented Nov 27, 2018

Oh man, finally saw this issue! This is not even close to being ready, although I've recently starting working on it heavily again. The mini-program I've been using to test this library lives in tests/router_test.rs, which is the closest thing I've currently got to an "example".

I'll definitely leave this issue open. One of the things I definitely want before publishing this to crates.io is a complete integration test/example.

@frol
Copy link

frol commented Oct 26, 2019

FYI, tokio-tungstenite has the async/await support coming!

I am also very interested in building wamp-proto APIs... I have found 3 attempts to implement it in Rust (ohyo-io/wampire, dyule/wamp-rs, and this one), but it seems that none of them are maintained. This implementation is the most up-to-date in terms of crates (wampire and wamp-rs use a deprecated eventual event loop).

@zrneely do you use wamp-proto? If not, what is your alternative?

I would love to help getting wamp-proto implementation for Rust, but I am not sure where to even start :)

@frol
Copy link

frol commented Mar 30, 2020

@zrneely FYI, there is one more Tokio-based (async-await) WAMP-proto client with RPC and PubSub implemented. I tried doing that myself but found that I can get away with https://gitlab.com/elast0ny/wamp_async-rs. It is great that we explore the space here!

@zrneely
Copy link
Owner

zrneely commented Mar 31, 2020

That's awesome, I'm happy to see a more complete implementation exists. It's also sad that in two years I've made so little progress on this :(

@frol
Copy link

frol commented Mar 31, 2020

@zrneely Don't be so hard on yourself! Given the state of async/await, it is not a surprise that we were not productive (I was also in a passive state for a few years; your progress is much better than mine 😄)

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