class

Consul::Transport

Inherits Reference / Object

Constructors

new(client : HTTP::Client, consistency : String = "default")
Source

Instance methods

client
Source
consistency
Source
delete(path : String) : HTTP::Client::Response
Source
get(path : String) : HTTP::Client::Response
Source
get_consistency
Source
put(path : String, data : JSON::Any) : HTTP::Client::Response
Source
put(path : String, data : String) : HTTP::Client::Response

overloading put method

Source
put(path : String) : HTTP::Client::Response

overloading put method

Source