1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
##--------------------------------------------------------------------
## rmqtt-auth-http
##--------------------------------------------------------------------
# See more keys and their definitions at https://github.com/rmqtt/rmqtt/blob/master/docs/en_US/auth-http.md
= "5s"
= "*/*"
= "no-cache"
= "RMQTT/0.15.0"
= "keep-alive"
## Disconnect if publishing is rejected
##
## Value: true | false
## Default: true
= true
## Disconnect After Expiration
##
## Value: true | false
## Default: false
= false
## Return 'Deny' if http request error otherwise 'Ignore'
##
## Value: true | false
## Default: true
= true
##--------------------------------------------------------------------
## Authentication request.
##
## Variables:
## - %u: username
## - %c: clientid
## - %a: ipaddress
## - %r: protocol
## - %P: password
##
## Value: URL
= "http://127.0.0.1:9090/mqtt/auth"
## Value: post | get | put
= "post"
## HTTP request header of authentication request
## Content-Type Currently supported values: application/x-www-form-urlencoded, application/json
= { = "application/x-www-form-urlencoded" }
#http_auth_req.headers.content-type="application/json"
## Value: Params
= { = "%c", = "%u", = "%P", = "%r" }
##--------------------------------------------------------------------
## ACL request.
##
## Variables:
## - %A: 1 | 2, 1 = sub, 2 = pub
## - %u: username
## - %c: clientid
## - %a: ipaddress
## - %r: protocol
## - %t: topic
##
## Value: URL
= "http://127.0.0.1:9090/mqtt/acl"
## Value: post | get | put
= "post"
## Value: Params
= { = "%A", = "%u", = "%c", = "%a", = "%t", = "%r" }