mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-16 10:29:22 +08:00
18 lines
548 B
Markdown
18 lines
548 B
Markdown
|
---
|
||
|
title: "struct mg_mqtt_session"
|
||
|
decl_name: "struct mg_mqtt_session"
|
||
|
symbol_kind: "struct"
|
||
|
signature: |
|
||
|
struct mg_mqtt_session {
|
||
|
struct mg_mqtt_broker *brk; /* Broker */
|
||
|
struct mg_mqtt_session *next, *prev; /* mg_mqtt_broker::sessions linkage */
|
||
|
struct mg_connection *nc; /* Connection with the client */
|
||
|
size_t num_subscriptions; /* Size of `subscriptions` array */
|
||
|
struct mg_mqtt_topic_expression *subscriptions;
|
||
|
void *user_data; /* User data */
|
||
|
};
|
||
|
---
|
||
|
|
||
|
MQTT session (Broker side).
|
||
|
|