From 1e2871750af423272770bfaad1f05af224e8efb6 Mon Sep 17 00:00:00 2001 From: rockey2020 <64777114+rockey2020@users.noreply.github.com> Date: Tue, 22 Aug 2023 17:40:59 +0800 Subject: [PATCH] Support mqtt protocol --- src/protocols-table.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/protocols-table.ts b/src/protocols-table.ts index cb810592..7844436d 100644 --- a/src/protocols-table.ts +++ b/src/protocols-table.ts @@ -46,7 +46,8 @@ export const table: Array<[number, number, string, boolean?, boolean?]> = [ [478, 0, 'wss'], [479, 0, 'p2p-websocket-star'], [480, 0, 'http'], - [777, V, 'memory'] + [777, V, 'memory'], + [1883, 0, 'mqtt'] ] // populate tables