Skip to content

Filters API #7

@sheenobu

Description

@sheenobu

Filters for each type of message (Message, Iq, Presence). Respond with the appropriate "there is nothing here, go away" payload for each type.

myFunc := func(msg *xco.Message) bool { ... }
c.MessageHandler = xco.MessageFilter(myFitler, myHandler)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions