From 8a087da260f4d46ab13450cf531417b940c11797 Mon Sep 17 00:00:00 2001 From: Ushio Shugo Date: Wed, 16 Nov 2016 17:07:03 +0900 Subject: [PATCH] Add extraHeaders option to socket.io-client.ConnectOpts. --- socket.io-client/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/socket.io-client/index.d.ts b/socket.io-client/index.d.ts index f4aef879a8..0859c58e08 100644 --- a/socket.io-client/index.d.ts +++ b/socket.io-client/index.d.ts @@ -611,6 +611,11 @@ declare namespace SocketIOClient { */ onlyBinaryUpgrades?: boolean; + /** + * Header options for Node.js client + */ + extraHeaders?: Object; + /** * (SSL) Certificate, Private key and CA certificates to use for SSL. * Can be used in Node.js client environment to manually specify