Skip to content

Commit

Permalink
Merge pull request #27 from Kavantix/master
Browse files Browse the repository at this point in the history
[Fixes #26] Fixed type error on extraHeaders
  • Loading branch information
jumperchen authored May 31, 2019
2 parents 6de617e + 2e1d3f9 commit c0951e8
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 c0951e8

Please sign in to comment.