Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 421 Bytes
%% @hidden
-module(on_publish_hook).
-include("vernemq_dev.hrl").
%% called as an 'all'-hook, return value is ignored
-callback on_publish(UserName :: username(),
SubscriberId :: subscriber_id(),
QoS :: qos(),
Topic :: topic(),
Payload :: payload(),
IsRetain :: flag()) -> any().
You can’t perform that action at this time.