Skip to content

Commit

Permalink
Issue 531
Browse files Browse the repository at this point in the history
  • Loading branch information
shamblett committed Jul 9, 2024
1 parent 7b8d7b1 commit d1a532d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ class MqttServerWsConnection extends MqttServerConnection<WebSocket> {
try {
// Connect and save the socket.
WebSocket.connect(uriString,
protocols: protocols.isNotEmpty ? protocols : null)
protocols: protocols.isNotEmpty ? protocols : null,
headers: headers)
.then((socket) {
client = socket;
_startListening();
Expand Down

0 comments on commit d1a532d

Please sign in to comment.