Commit Graph

32 Commits

Author SHA1 Message Date
Moritz Schmidt
08f99d437b fix restify error classes
* add missing restify error classes
	* overloaded constructor
	* more constructor tests
2015-03-31 20:54:00 +02:00
Eric Lu
188590dce9 Expose isSecure function through request interface 2015-02-09 12:29:46 -08:00
Eric Lu
938122b49b Expose raw http server 2015-02-03 10:07:56 -08:00
Eric Lu
a3a941b342 Expose two more error types. 2015-01-26 19:27:38 -08:00
Eric Lu
ff0c34bc71 Add typing for bunyan logger associated with Request 2015-01-09 15:47:05 -08:00
Niklas Mollenhauer
3abe86c6fe Fixes #2810 2014-09-12 02:44:31 +02:00
Mohamed Hegazy
2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
Santi Albo
d50f5e11ef Add restify pre example of use on the tests 2014-03-18 09:34:39 +00:00
Santi Albo
8b0c6cab78 Add restify pre module 2014-03-18 09:32:20 +00:00
Masahiro Wakame
2e5ad83aee Merge pull request #1829 from santialbo/patch-4
Fix typo on restify type definition
2014-03-15 21:53:06 +09:00
Santi Albo
418438f064 Fix typo on test 2014-03-15 13:12:19 +01:00
Santi Albo
90dd6ead84 Fix typo on restify type definition
InvalidArgu**e**mentError => InvalidArgumentError
2014-03-12 11:49:04 +00:00
Santi Albo
071788e345 Add CORS method on restify module 2014-03-10 16:44:30 +00:00
Václav Oborník
f788ac6ca4 renamed 'next' intarface to 'Next' 2014-03-09 06:23:11 +01:00
Václav Oborník
5eaf82aa6a method Server.use can accept arrays of RequestHandlers 2014-03-08 15:50:08 +01:00
Václav Oborník
ac22449387 added 'next' interface, route binding methods can have multiple request handlers and accepts arrays of handlers 2014-03-08 15:38:17 +01:00
Václav Oborník
1f92231282 Request.query is any 2014-03-07 22:43:01 +01:00
Santi Albo
7a521a2f56 Fix typo on restify type definition 2014-03-07 14:05:23 +00:00
Václav Oborník
dd908b1f72 Removed 'on' method from Server - it is inherited now. Added body property to request definition 2014-03-02 14:19:37 +01:00
Václav Oborník
4dbe22c267 Moved definitions from global (evil) context to 'restify' module/namespace, added inheritance of Server, Request and Response from nodejs 'http' module 2014-03-02 13:52:38 +01:00
vvakame
6ab4ffae2b Remove not required tscparams 2014-01-02 16:34:52 +09:00
Václav Oborník
ee212d0ece Restify: updated plugin defintions, allowed --noImplicitAny compile flag 2013-12-14 00:06:24 +01:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
gstamac
e377e15866 Restify: changed "import module" to "import require" 2013-08-23 14:01:06 +02:00
Boris Yankov
dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
Neil Stalker
182b290dc4 fix filewriter, restify and chrome definitions 2013-06-24 12:49:31 +01:00
Diullei Gomes
7147d06d3e Merge pull request #295 from blittle/master
Update restify definition
2013-02-17 12:56:29 -08:00
Bret Little
5a765895ca Udate the restify definition so that the request attributes path and href
are functions rather than string properties.
2013-02-17 13:32:43 -07:00
Diullei Gomes
1fd9f45cd2 restfy header was normalized. 2013-02-16 18:44:25 -02:00
Bret Little
baa2dc5651 Finish restify typescript definition including its server and client api 2013-02-14 13:46:32 -07:00
Bret Little
204569719e Add restify definition 2013-02-12 22:08:16 -07:00