struct

LavinMQ::MQTT::PermissionService::Context

Inherits Struct < Value < Object

What a check knows about the connection. The username selects the member rules, the client id feeds the {client_id} substitution. The username is nil for a restored session no client has attached to yet.

Constructors

new(username : String | Nil, client_id : String)
Source

Instance methods

client_id
clone
Source
copy_with(username _username = @username, client_id _client_id = @client_id)
Source
username