Skip to content

Expose the parts of jsonrpc_core_client necessary to create a custom transport #667

Open
@phiresky

Description

@phiresky

I've built a transport that allows jsonrpc-client to work in the browser with wasm, but I think it's impossible to create such a transport outside of jsonrpc_core_client crate because some of the types used to build the transports are not exposed.

This includes:

  • RpcMessage and all the variants
  • RequestBuilder.* (call_request etc)
  • probably others

It would be great if those types could be exposed to make it possible to create a custom transport

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions