NoOp class
The "noop" verb takes a single parameter, a duration in milliseconds.
NoOp simply does nothing for the requested number of milliseconds. The requested number of milliseconds may not be greater than 5000. Upon completion, the noop verb sends 'OK' as a response to the client.
This verb does not require authentication.
Syntax: noop:
Constructors
- NoOp()
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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