View Source mqtt_sessions_incoming (mqtt_sessions v2.5.0)

Link to this section Summary

Functions

Handle an incoming connect message, the package MUST be a connect package.
The session pool returned an error when trying to map the client-id

Link to this section Functions

Link to this function

incoming_connect(Pool, Msg, Options)

View Source
-spec incoming_connect(Pool :: atom(), mqtt_packet_map:mqtt_packet(), mqtt_sessions:msg_options()) ->
                    {ok, mqtt_sessions:session_ref()}.
Handle an incoming connect message, the package MUST be a connect package.
Link to this function

send_connack_error(ReasonCode, _, Options)

View Source
The session pool returned an error when trying to map the client-id