webtransport-pooled

command
v0.0.0-...-f76cd81 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 6 Imported by: 0

README

Example data-channel

This example demonstrates the LP2PQuicTransport API for transmitting data.

The example simulates both peers. It is configured to run in a non-interactive way, simulating user input.

Example output

The presenting browser (receiver) shows a pin:
Pin: 1234 (presented to user)
The consuming browser (requester) asks the user to enter the pin:
Pin: 1234 (entered by user)
Receiver: got transport
Requester: Received: Good day to you, receiver!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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