websocket-browser-link/

directory
v0.43.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2025 License: Apache-2.0

README

Quic over WebSocket

Screenshot

This demo shows how Bifrost communicates between a browser tab and a native process via Quic over WebSocket.

Quic features like stream multiplexing, mTLS, congestion control work correctly.

Building the client

Build the client wasm:

cd ./browser/
bash build.bash

Running the server

Start the server with go run:

cd ./server
go run -v ./

The server listens on port 8080.

Browsing to the client

Browse to http://localhost:8000 in your web browser.

Open the developer console, network tab, WebSockets list.

Click the "run" button to start the demo.

You will see a WebSocket open with binary messages generated by Quic.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL