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

client: make Conneccion transport-agonistic #17

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

MaxVerevkin
Copy link
Owner

Alternative to #10 and #16.

Use

let conn = ConnectionBuilder::with_transport(...).build();

or

let (conn, globals) = ConnectionBuilder::with_transport(...).build_and_collect_globals().unwrap();

to create a connection based on a custom transport.

@MaxVerevkin MaxVerevkin force-pushed the transport3 branch 4 times, most recently from 69bfa50 to 524b22a Compare April 18, 2024 09:56
Use

```rust
let conn = ConnectionBuilder::with_transport(...).build();
```

or

```rust
let (conn, globals) = ConnectionBuilder::with_transport(...).build_and_collect_globals().unwrap();
```

to create a connection based on a custom transport.
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

Successfully merging this pull request may close these issues.

1 participant