From 2e1d3f9ec847152cf2c667f0cfdc2c60d6d62fef Mon Sep 17 00:00:00 2001 From: Pieter van Loon Date: Fri, 31 May 2019 01:06:38 +0200 Subject: [PATCH] [Fixes #26] Fixed type error on extraHeaders --- lib/src/engine/socket.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/engine/socket.dart b/lib/src/engine/socket.dart index 01e5396..df6c005 100644 --- a/lib/src/engine/socket.dart +++ b/lib/src/engine/socket.dart @@ -138,7 +138,7 @@ class Socket extends EventEmitter { this.perMessageDeflate['threshold'] = 1024; } - this.extraHeaders = opts['extraHeaders'] ?? {}; + this.extraHeaders = opts['extraHeaders'] ?? {}; // SSL options for Node.js client // this.pfx = opts.pfx || null; // this.key = opts.key || null;