Skip to content
Features
Business
Explore
Marketplace
Pricing
This repository
Sign in
or
Sign up
Watch
72
Star
1,538
Fork
256
sockjs
/
sockjs-node
Code
Issues
25
Pull requests
4
Projects
0
Wiki
Insights
Permalink
Browse files
Advertise deprecated API
Loading branch information
...
majek
committed
Oct 20, 2011
1 parent
f70d5f3
commit
d5bcf20a320078e0d0765927b3eb08d0b5853665
Unified
Split
Showing
1 changed file
with
1 addition
and
0 deletions
.
+1
−0
src/sockjs.coffee
Show comments
View
1
src/sockjs.coffee
@@ -180,6 +180,7 @@ class DeprecatedServerWrapper extends events.EventEmitter
@srv
=
new
Server
(options)
installHandlers
:
(
http_server
,
handler_options
)
->
+
@srv
.
options
.
log
(
'
info
'
,
'
You
\'
re using deprecated API, shame on you.
'
)
@srv
.
on
'
connection
'
, (
conn
)
=>
wrapped_conn
=
new
DeprecatedConnectionWrapper
(conn)
@
emit
(
'
open
'
, wrapped_conn)
Toggle all file notes
0 comments on commit
d5bcf20
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
Press h to open a hovercard with more details.
0 comments on commit
d5bcf20