net-mqtt-0.2.4.0: An MQTT Protocol Implementation.

Copyright(c) Dustin Sallings 2019
LicenseBSD3
Maintainerdustin@spy.net
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

Network.MQTT.Topic

Description

Topic and topic related utiilities.

Synopsis

Documentation

type Filter = Text Source #

An MQTT topic filter.

type Topic = Text Source #

An MQTT topic.

match :: Filter -> Topic -> Bool Source #

match returns true iff the given pattern can be matched by the specified Topic as defined in the MQTT 3.1.1 specification.