Ejemplo n.º 1
0
 /// <summary>
 /// This event is called when new client has been authenticated successfully using MQTT v5.
 /// For more information <see cref="https://docs.vernemq.com/plugin-development/sessionlifecycle#on_register-and-on_register_m5"/>
 /// </summary>
 /// <param name="registerPayload">on register client information</param>
 /// <returns></returns>
 protected virtual async Task RegisterM5(OnRegisterM5Payload onRegisterPayload)
 {
     return;
 }
Ejemplo n.º 2
0
        public async Task <IActionResult> OnRegisterM5([FromBody] OnRegisterM5Payload request)
        {
            await OnRegisterM5(request);

            return(Ok());
        }