From b2f12adae4c60539a7ea5c20ef29050aef3db6ae Mon Sep 17 00:00:00 2001 From: Michiel De Backker Date: Fri, 17 Nov 2023 08:22:01 +0100 Subject: [PATCH] update spec header --- README.md | 7 ++++--- index.bs | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6fe4f39..448f508 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,9 @@ [Local Peer-to-Peer](https://WICG.github.io/local-peer-to-peer/) is a Web platform API proposal for local communication between browsers without the aid of a server. ```js -let session = await navigator.lp2p.findPeers(); - +let peers = await navigator.lp2p.findPeers(); +let peer = peers[0]; +await peer.connect(); await peer.send("Hello there!"); ``` @@ -21,4 +22,4 @@ This specification is a work in progress. ## Feedback -We welcome feedback [issue tracker](https://github.com/WICG/local-peer-to-peer/issues) of this GitHub repo. [Contributions](CONTRIBUTING.md) are welcome via pull requests too. +We welcome feedback via the [issue tracker](https://github.com/WICG/local-peer-to-peer/issues) of this GitHub repo. [Contributions](CONTRIBUTING.md) are welcome via pull requests too. diff --git a/index.bs b/index.bs index b5f2dec..db12a7d 100644 --- a/index.bs +++ b/index.bs @@ -5,16 +5,16 @@ Level: 1 Status: CG-DRAFT Group: WICG Repository: WICG/local-peer-to-peer -URL: http://example.com/url-this-spec-will-live-at +URL: https://WICG.github.io/local-peer-to-peer/ Editor: Anssi Kostiainen, Intel https://intel.com, anssi.kostiainen@intel.com Editor: Belem Zhang, Intel https://intel.com, belem.zhang@intel.com Editor: Michiel De Backker, Twintag https://twintag.com, mail@backkem.me Editor: Wei Wang, Intel https://intel.com, wei4.wang@intel.com !Tests: web-platform-tests local-peer-to-peer/ (ongoing work) -Abstract: A short description of your spec, one or two sentences. +Abstract: Local Peer-to-Peer is a Web platform API proposal for local communication between browsers without the aid of a server. Introduction {#intro} ===================== -See https://github.com/tabatkins/bikeshed to get started. +*This section is non-normative.* \ No newline at end of file