++ed by:
POTATOGIM

1 PAUSE user
2 non-PAUSE users.

Sam Batschelet
and 1 contributors

NAME

Net::Etcd::Role::Actions

json_args

arguments that will be sent to the api

cb

AnyEvent callback must be a CodeRef

cv

init

headers

hold

When set will not fire request.

response

retry_auth

When set will retry authentication request and update token

request

get_value

returns single decoded value or the first.

all

returns list containing for example:

  {
    'mod_revision' => '3',
    'version' => '1',
    'value' => 'bar',
    'create_revision' => '3',
    'key' => 'foo0'
  }

where key and value have been decoded for your pleasure.

is_success

Success is returned if the response is a 200

content

returns JSON decoded content hash

check_hdr

check response header then define success and retry_auth.