class Lavinmq::HTTPClient
- Lavinmq::HTTPClient
- Reference
- Object
Defined in:
lavinmq-http-client.crConstant Summary
-
HEADERS =
HTTP::Headers {"Content-Type" => "application/json"}
Constructors
Instance Method Summary
- #add_user(username : String, password : String)
- #add_vhost(vhost_name : String)
- #change_password(username : String, password : String)
- #delete_user(username : String)
- #delete_vhost(vhost_name : String)
- #get_user(username : String)
- #get_vhost(vhost_name : String)
- #host : String | Nil
- #list_users
- #list_vhosts
- #reset_vhost(vhost_name : String, backup = false, backup_dir_name = "")
- #set_user_tags(username : String, tags : Array(String))