mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Expose isSecure function through request interface
This commit is contained in:
1
restify/restify.d.ts
vendored
1
restify/restify.d.ts
vendored
@@ -34,6 +34,7 @@ declare module "restify" {
|
||||
params: any;
|
||||
|
||||
body?: any; //available when bodyParser plugin is used
|
||||
isSecure: () => boolean;
|
||||
}
|
||||
|
||||
interface Response extends http.ServerResponse {
|
||||
|
||||
Reference in New Issue
Block a user