class Consul::Transport

Direct Known Subclasses

Defined in:

consul/transport.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : HTTP::Client, consistency : String = "default") #

[View source]

Instance Method Detail

def client : HTTP::Client #

[View source]
def consistency : String #

[View source]
def delete(path : String) : HTTP::Client::Response #

[View source]
def get(path : String) : HTTP::Client::Response #

[View source]
def get_consistency : String #

[View source]
def put(path : String, data : JSON::Any) : HTTP::Client::Response #

[View source]
def put(path : String, data : String) : HTTP::Client::Response #

overloading put method


[View source]
def put(path : String) : HTTP::Client::Response #

overloading put method


[View source]