Radosław Eichler
dbc144352d
Add missing perMessageDeflate server option ( #11380 )
2016-10-03 11:41:06 -07:00
Samuel Marks
bbf7d43323
http.ServerRequest => http.IncomingMessage ( #11500 )
2016-09-28 21:42:23 +09:00
Andy
e868783ca4
Merge pull request #11133 from TheToolbox/master
...
Updated ServerRequest to IncomingMessage
2016-09-22 10:15:01 -07:00
Meno Abels
ef6b6ef139
Added https type to Websocket.Server ( #11213 )
...
* Added https type to Websocket.Server
Hi,
the current typing misses to pass to the Websocket.Server server option a https Server.
Cheers
meno
* * added a test
* fix the missing typo of http(s)
* improve the test
2016-09-14 22:11:22 +09:00
Toolbox
21e1fc8534
Updated ServerRequest to IncomingMessage
2016-09-09 01:17:15 -04:00
Viktor Hedefalk
cc8642a40d
adds constructor to pass tests
...
Need two constructors because https://github.com/websockets/ws/blob/master/lib/WebSocket.js\#L58
2016-08-30 14:35:05 +02:00
Viktor Hedefalk
37c50a8e4b
Fixes #10904
...
adds optional protocols params to client constructor
2016-08-30 12:37:23 +02:00
Zhuohuan LI
6a6f78076b
work with --target es6
2016-07-24 20:25:36 +08:00
Zhuohuan LI
c32177d0cd
type alias for 2 callback, fix #10250
2016-07-24 20:21:53 +08:00
Zhuohuan LI
f7163677f8
add protocol, fix verifyClient callback defination
2016-07-24 20:19:34 +08:00
Stefan Loikkanen
13be4bad06
Added optional callback for close function
2016-04-05 11:44:35 +02:00
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
Ilya Mochalov
abc2bcfb85
node: improved EventEmitter's definition with this-typing
2016-02-25 02:10:08 +05:00
Aya Morisawa
ea10ebfa57
Remove trailing whitespaces
2016-01-27 19:53:06 +09:00
Scott Opell
34ae8420ec
updates for ts1.5
2015-09-03 16:22:31 -04:00
Atsushi Kanehara
435aaa1ddf
Added property upgradeReq
2014-08-07 15:01:57 +09:00
Atsushi Kanehara
a417b07f5b
Fixed signature of verifyClient.
2014-08-02 08:57:23 +09:00
Atsushi Kanehara
305768698d
fix handleUpgrade signature
2014-06-09 15:12:47 +09:00
Julien Chaintron
922b70d087
Update ws.d.ts
...
Typescript specification says:
"When writing overloaded declarations such as the one above it is important to list the non-pecialized signature last. This is because overload resolution (section 4.12.1) processes the candidates in declaration order and picks the first one that matches."
Fixed this for Server and WebSocket class
2014-05-17 14:56:44 +01:00
Paul Loyd
1d451a05e1
node: NodeBuffer -> Buffer. Mark NodeBuffer as deprecated
2014-04-28 18:32:36 +02:00
Paul Loyd
0cdeaaa3a7
node: rename http.NodeAgent to http.Agent and net.NodeSocket to net.Socket
2014-03-22 21:29:50 +04:00
Paul Loyd
df8ece96ce
Add ws
2013-12-29 00:36:47 +04:00