# sendStreamHeader method

1. @override

void sendStreamHeader()
override

Sends the stream header.

## Implementation

    @override
    void sendStreamHeader() {
      resetStreamParser();
      sendNonza(
        XMLNode(
          tag: 'xml',
          attributes: {'version': '1.0'},
          closeTag: false,
          isDeclaration: true,
          children: [
            ComponentStreamHeaderNonza(getConnectionSettings().jid),
          ],
        ),
      );
    }