Skip to content

wasm-ext: WebTransport #3825

@mriise

Description

@mriise

Description

Add WebTransport support for wasm targets. Similar to the discussion in #3611, this should be done with the web-sys crate.

Requirements

  1. Get a new version of web-sys published (Bump versions wasm-bindgen/wasm-bindgen#3400), the bindings were added a while ago in Add WebTransport webidl to unstable wasm-bindgen/wasm-bindgen#3344 but haven't been published yet.
  2. Add a new transport crate (libp2p-websys-webtransport?) and implementation.
  3. Test compatibility with go-libp2p's webtransport implementation.

Open questions

  • WebTransport is an unstable api for web-sys, do we pass this into build script or just add as note and have users pass the flag?

Are you planning to do it yourself in a pull request?

Yes

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