class Etcd::Response

Overview

manage http responses

Defined in:

etcd/response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_http_response(response : HTTP::Client::Response) : Response #

[View source]
def self.new(opts : Hash(String, JSON::Any), headers : Hash(Symbol, Int64)) #

[View source]

Instance Method Detail

def action : String #

[View source]
def action=(action : String) #

[View source]
def children(*args, **options) #

[View source]
def children(*args, **options, &) #

[View source]
def directory?(*args, **options) #

[View source]
def directory?(*args, **options, &) #

[View source]
def etcd_index : Int64 #

[View source]
def etcd_index=(etcd_index : Int64) #

[View source]
def key(*args, **options) #

[View source]
def key(*args, **options, &) #

[View source]
def node : Node #

[View source]
def node=(node : Node) #

[View source]
def raft_index : Int64 #

[View source]
def raft_index=(raft_index : Int64) #

[View source]
def raft_term : Int64 #

[View source]
def raft_term=(raft_term : Int64) #

[View source]
def value(*args, **options) #

[View source]
def value(*args, **options, &) #

[View source]