Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 806 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 806 Bytes

Local Peer-to-Peer API

Local Peer-to-Peer is a Web platform API proposal for local communication between browsers without the aid of a server.

const conn = await new LP2PRequest(options).start();
const channel = conn.createDataChannel("chat");

channel.onopen = (event) => {
  channel.send("Hi you!");
};

For a more in-dept overview of the proposal, please see the Explainer.

Status

This specification is a work in progress.

Links

Feedback

We welcome feedback via the issue tracker of this GitHub repo. Contributions are welcome via pull requests too.