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

Cant find flume::Connection::New #53

Open
makorne opened this issue Sep 28, 2023 · 2 comments
Open

Cant find flume::Connection::New #53

makorne opened this issue Sep 28, 2023 · 2 comments

Comments

@makorne
Copy link

makorne commented Sep 28, 2023

Hi!
Thank you for your great crate.

I tried to use the example with flume feature(for wasm) but can't find how to init client like in this code:

let client = quic_rpc::transport::quinn::QuinnConnection::new(
        endpoint,
        server_addr,
        "localhost".to_string(),
    );

Cheers!

@rklaehn
Copy link
Collaborator

rklaehn commented Oct 5, 2023

So you want to modify the example to use flume? Flume is purely for in process communication. Not quite sure what you are trying to do.

(a part of the motivation of this crate was to make a RPC framework for people that don't like RPC. It should have extremely low overhead when used in-process. That is why there is the flume channel)

@makorne
Copy link
Author

makorne commented Oct 6, 2023

Ups...
Recently I used some lib for process communication with flume...
And it used reqwest for inter-servers communications.
I think your crate has such option but over quic too..
Thank you!

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

2 participants