# getOutgoingPreStanzaHandlers method

1. @override

List <StanzaHandler> getOutgoingPreStanzaHandlers()
override

Return the StanzaHandlers associated with this manager that deal with stanzas we send. These are run before the stanza is sent. The higher the value of the handler's priority, the earlier it is run.

## Implementation

    @override
    List<StanzaHandler> getOutgoingPreStanzaHandlers() => [
          StanzaHandler(
            stanzaTag: 'iq',
            callback: _onOutgoingStanza,
          ),
          StanzaHandler(
            stanzaTag: 'presence',
            callback: _onOutgoingStanza,
          ),
          StanzaHandler(
            stanzaTag: 'message',
            callback: _onOutgoingStanza,
            priority: 100,
          ),
        ];