From 188590dce9cf6c0ef105eb92ee5c404a0971fea0 Mon Sep 17 00:00:00 2001 From: Eric Lu Date: Mon, 9 Feb 2015 12:29:46 -0800 Subject: [PATCH] Expose isSecure function through request interface --- restify/restify.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/restify/restify.d.ts b/restify/restify.d.ts index 7128ca3d07..e890ef2b2e 100644 --- a/restify/restify.d.ts +++ b/restify/restify.d.ts @@ -34,6 +34,7 @@ declare module "restify" { params: any; body?: any; //available when bodyParser plugin is used + isSecure: () => boolean; } interface Response extends http.ServerResponse {