set websocketHeader(Map<String, dynamic> header) { websocketHeaders = header; final connectionHandler = this.connectionHandler; if (connectionHandler != null) { connectionHandler.websocketHeaders = header; } }