Skip to content

Commit

Permalink
[Fixes #26] Fixed type error on extraHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
Kavantix authored May 30, 2019
1 parent 6de617e commit 2e1d3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/engine/socket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class Socket extends EventEmitter {
this.perMessageDeflate['threshold'] = 1024;
}

this.extraHeaders = opts['extraHeaders'] ?? {};
this.extraHeaders = opts['extraHeaders'] ?? <String, dynamic>{};
// SSL options for Node.js client
// this.pfx = opts.pfx || null;
// this.key = opts.key || null;
Expand Down

0 comments on commit 2e1d3f9

Please sign in to comment.