Skip to content

Reduce repeated dispatch in Rust SDK client wrappers #4573

Closed

Description

@ByteBaker

Description

ClientWrapper repeats the same transport match in 55 methods. This adds code that must be maintained in several places.

Affected area / component

Rust SDK

Proposed solution

Use one private helper for transport selection. Keep the public API and reconnect behavior unchanged.

Alternatives considered

None.

Contribution

  • I'm willing to submit a pull request to implement this feature

Good first issue

  • I think this could be a good first issue for a new contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersrustPull requests that update Rust code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions