handleUpgrades option support in ServerOptions interface

http://restify.com/#creating-a-server

In restify docs createServer method supports handleUpgrades parameter in ServerOptions object, but it's not present in the type's interface.
This commit is contained in:
Vladimir
2015-11-25 17:52:21 +01:00
parent 36c6ce86fb
commit b65f3c4365

View File

@@ -110,6 +110,7 @@ declare module "restify" {
version ?: string;
responseTimeHeader ?: string;
responseTimeFormatter ?: (durationInMilliseconds: number) => any;
handleUpgrades ?: boolean;
}
interface ClientOptions {