# getIncomingPreStanzaHandlers method

1. @override

List <StanzaHandler> getIncomingPreStanzaHandlers()
override

Return the StanzaHandlers associated with this manager that deal with stanza handlers that have to run before the main ones run. This is useful, for example, for OMEMO as we have to decrypt the stanza before we do anything else. The higher the value of the handler's priority, the earlier it is run.

## Implementation

    @override
    List<StanzaHandler> getIncomingPreStanzaHandlers() => [
          StanzaHandler(
            callback: _onServerStanzaReceived,
            priority: 9999,
          ),
        ];