Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update docs

  • Loading branch information...
commit e85dca555b3d8e328eb9bab0c6827718515ba798 1 parent 20b2425
@ericz ericz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/api.md
View
4 docs/api.md
@@ -1,10 +1,10 @@
# PeerJS API Reference
-## Class: Peer
+## Class: peerjs.Peer
This class is a the BinaryJS websocket server. It is an `EventEmitter`.
-### new peerjs.Peer([id], options)
+### new Peer([id], options)
* `id` String. The id by which this peer will be identified when other peers try to connect to it. If no id is given, one will be generated by the server
* `options` Object
Please sign in to comment.
Something went wrong with that request. Please try again.