websocketHeaders property

  1. @protected
Map<String, dynamic>? websocketHeaders
getter/setter pair

User definable websocket headers. This allows the specification of additional HTTP headers for setting up the connection should a broker need specific headers. The keys of the map are the header fields and the values are either String or List.

Implementation

@protected
Map<String, dynamic>? websocketHeaders;