SpongeClientConstants class

The Sponge client constants.

Constructors

SpongeClientConstants()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Constants

API_VERSION → const int
1
ATTRIBUTE_PATH_SEPARATOR → const String
'.'
CONTENT_TYPE_JSON → const String
"application/json;charset=utf-8"
DEFAULT_ERROR_CODE → const String
'SPONGE001'
DEFAULT_PATH → const String
'sponge.json/v$API_VERSION'
DEFAULT_PORT → const int
1836
ERROR_CODE_INCORRECT_KNOWLEDGE_BASE_VERSION → const String
'SPONGE003'
ERROR_CODE_INCORRECT_USERNAME_PASSWORD → const String
'SPONGE004'
ERROR_CODE_INVALID_AUTH_TOKEN → const String
'SPONGE002'
OPERATION_ACTION_ARGS → const String
"actionArgs"
OPERATION_ACTIONS → const String
'actions'
OPERATION_CALL → const String
'call'
OPERATION_KNOWLEDGE_BASES → const String
'knowledgeBases'
OPERATION_LOGIN → const String
'login'
OPERATION_LOGOUT → const String
'logout'
OPERATION_RELOAD → const String
'reload'
OPERATION_SEND → const String
'send'
OPERATION_VERSION → const String
'version'
SUPPORTED_SPONGE_VERSION_MAJOR_MINOR → const String
'1.10'