Update class
The update verb adds/updates the keys in the secondary server. The update verb is used to set public responses and specific responses for a particular authenticated users after using the pol verb. The @sign should be authenticated using cram verb prior to use the update verb. A malformed request closes the @sign client connection.
Syntax: update:public/@sign:key@@sign value
e.g.
update:public:phone@alice +1 123 456 000 - update public phone number of alice
update:@bob:phone@alice +1 123 456 001 - update phone number of alice shared with bob
update:@alice:phone@alice + 123 456 002 - update private phone number of alice
Constructors
- Update()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dependsOn(
) → Verb -
Returns name of the Verb this verb depends on
override
-
name(
) → String -
Returns name of the verb
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requiresAuth(
) → bool -
Returns whether a verb requires authentication
override
-
syntax(
) → String -
Returns syntax of the verb in a regular expression format
override
-
toString(
) → String -
A string representation of this object.
inherited
-
usage(
) → String -
Returns a sample usage of the Verb
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited