geffzhang / EmqxHookASPNET

EMQX Broker exhook demo server written in dotnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emqx-exhook-aspnetcore

This is a EMQX Broker exhook demo server written in dotnet for exhook

多语言的 钩子扩展

emqx-http-auth-api and resolve MQTT messages via HTTP webhooks

  1. test for emqx http auth api :http://emqxhookaspnet:82/auth
  2. data bridge with webhook: http://emqxhookaspnet:82/hook/${clientid}

Prerequisites

  • .NET 6 or higher

Run

dotnet run --project  .\EmqxHookASPNET\EmqxHookASPNET.csproj

or visual studio 2022 debug with docker-compose

  • set Built-in Database auth username : mqttx_e163c7ba password:1234567890

  • set ExHook with aspnet exhook

enable aspnet exhook enablehook

aspnet exhook list aspnethooklist

License

MIT

About

EMQX Broker exhook demo server written in dotnet

License:MIT License


Languages

Language:C# 96.7%Language:Dockerfile 3.3%