websocketHeaders property
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;