n0-computer/quic-rpc

Cant find flume::Connection::New

makorne opened this issue · 2 comments

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!

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)

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!