7 Commits

Author SHA1 Message Date
Michelle Bu
1bbce52ae9 4 spaces to 2 spaces 2014-11-01 13:47:55 -07:00
lmb
054145343e Add 'proxied' option for running the server behind a reverse proxy 2014-10-20 10:16:54 +01:00
lmb
d1a24d5711 Fix tests 2014-10-20 09:52:45 +01:00
lmb
9429006ee4 Clean up API 2014-10-18 16:07:40 +01:00
lmb
be66a1b346 Fix bin/peerjs 2014-10-18 13:23:09 +01:00
Vsevolod Strukchinsky
2ce55f8e33 Pass server or port option to PeerServer
This allows to initialize websocket server properly
2014-10-18 12:34:14 +01:00
Vsevolod Strukchinsky
9e0d861715 Migrate to express from restify
PeerServer is now instance of express application - this allows to combine it with other express applications.
Listen is deferred - because it now method from express (you can call it later and supply callback for start event).
Constructor now not using `new` (because we mixing in methods to express app)

Closes #36
2014-10-18 12:34:14 +01:00