|
@@ -48,7 +48,7 @@ yudao:
|
|
|
# 针对引入的 HTTP 组件的配置
|
|
# 针对引入的 HTTP 组件的配置
|
|
|
# ====================================
|
|
# ====================================
|
|
|
- id: http-json
|
|
- id: http-json
|
|
|
- type: http
|
|
|
|
|
|
|
+ protocol: http
|
|
|
port: 8092
|
|
port: 8092
|
|
|
enabled: false
|
|
enabled: false
|
|
|
http:
|
|
http:
|
|
@@ -58,7 +58,7 @@ yudao:
|
|
|
# ====================================
|
|
# ====================================
|
|
|
- id: tcp-json
|
|
- id: tcp-json
|
|
|
enabled: false
|
|
enabled: false
|
|
|
- type: tcp
|
|
|
|
|
|
|
+ protocol: tcp
|
|
|
port: 8091
|
|
port: 8091
|
|
|
serialize: json
|
|
serialize: json
|
|
|
tcp:
|
|
tcp:
|
|
@@ -80,7 +80,7 @@ yudao:
|
|
|
# ====================================
|
|
# ====================================
|
|
|
- id: udp-json
|
|
- id: udp-json
|
|
|
enabled: false
|
|
enabled: false
|
|
|
- type: udp
|
|
|
|
|
|
|
+ protocol: udp
|
|
|
port: 8093
|
|
port: 8093
|
|
|
serialize: json
|
|
serialize: json
|
|
|
udp:
|
|
udp:
|
|
@@ -93,7 +93,7 @@ yudao:
|
|
|
# ====================================
|
|
# ====================================
|
|
|
- id: websocket-json
|
|
- id: websocket-json
|
|
|
enabled: true
|
|
enabled: true
|
|
|
- type: websocket
|
|
|
|
|
|
|
+ protocol: websocket
|
|
|
port: 8094
|
|
port: 8094
|
|
|
serialize: json
|
|
serialize: json
|
|
|
websocket:
|
|
websocket:
|
|
@@ -107,7 +107,7 @@ yudao:
|
|
|
# ====================================
|
|
# ====================================
|
|
|
- id: coap-json
|
|
- id: coap-json
|
|
|
enabled: false
|
|
enabled: false
|
|
|
- type: coap
|
|
|
|
|
|
|
+ protocol: coap
|
|
|
port: 5683
|
|
port: 5683
|
|
|
coap:
|
|
coap:
|
|
|
max-message-size: 1024 # 最大消息大小(字节)
|
|
max-message-size: 1024 # 最大消息大小(字节)
|
|
@@ -118,7 +118,7 @@ yudao:
|
|
|
# ====================================
|
|
# ====================================
|
|
|
- id: mqtt-json
|
|
- id: mqtt-json
|
|
|
enabled: true
|
|
enabled: true
|
|
|
- type: mqtt
|
|
|
|
|
|
|
+ protocol: mqtt
|
|
|
port: 1883
|
|
port: 1883
|
|
|
serialize: json
|
|
serialize: json
|
|
|
mqtt:
|
|
mqtt:
|