The following constants are used throughout serialization and deserialization to detect the AMF marker and encoding types.

package Zend_Amf
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Constants

 

AMF0_AMF3

AMF0_AMF3 = 17 
 

AMF0_ARRAY

AMF0_ARRAY = 10 
 

AMF0_BOOLEAN

AMF0_BOOLEAN = 1 
 

AMF0_DATE

AMF0_DATE = 11 
 

AMF0_LONGSTRING

AMF0_LONGSTRING = 12 
 

AMF0_MIXEDARRAY

AMF0_MIXEDARRAY = 8 
 

AMF0_MOVIECLIP

AMF0_MOVIECLIP = 4 
 

AMF0_NULL

AMF0_NULL = 5 
 

AMF0_NUMBER

AMF0_NUMBER = 0 
 

AMF0_OBJECT

AMF0_OBJECT = 3 
 

AMF0_OBJECTTERM

AMF0_OBJECTTERM = 9 
 

AMF0_OBJECT_ENCODING

AMF0_OBJECT_ENCODING = 0 
 

AMF0_REFERENCE

AMF0_REFERENCE = 7 
 

AMF0_STRING

AMF0_STRING = 2 
 

AMF0_TYPEDOBJECT

AMF0_TYPEDOBJECT = 16 
 

AMF0_UNDEFINED

AMF0_UNDEFINED = 6 
 

AMF0_UNSUPPORTED

AMF0_UNSUPPORTED = 14 
 

AMF0_XML

AMF0_XML = 15 
 

AMF3_ARRAY

AMF3_ARRAY = 9 
 

AMF3_BOOLEAN_FALSE

AMF3_BOOLEAN_FALSE = 2 
 

AMF3_BOOLEAN_TRUE

AMF3_BOOLEAN_TRUE = 3 
 

AMF3_BYTEARRAY

AMF3_BYTEARRAY = 12 
 

AMF3_DATE

AMF3_DATE = 8 
 

AMF3_INTEGER

AMF3_INTEGER = 4 
 

AMF3_NULL

AMF3_NULL = 1 
 

AMF3_NUMBER

AMF3_NUMBER = 5 
 

AMF3_OBJECT

AMF3_OBJECT = 10 
 

AMF3_OBJECT_ENCODING

AMF3_OBJECT_ENCODING = 3 
 

AMF3_STRING

AMF3_STRING = 6 
 

AMF3_UNDEFINED

AMF3_UNDEFINED = 0 
 

AMF3_XML

AMF3_XML = 7 
 

AMF3_XMLSTRING

AMF3_XMLSTRING = 11 
 

CREDENTIALS_HEADER

CREDENTIALS_HEADER = 'Credentials' 
 

DESCRIBE_HEADER

DESCRIBE_HEADER = 'DescribeService' 
 

ET_DYNAMIC

ET_DYNAMIC = 2 
 

ET_EXTERNAL

ET_EXTERNAL = 1 
 

ET_PROPLIST

ET_PROPLIST = 0 
 

ET_PROXY

ET_PROXY = 3 
 

FMS_OBJECT_ENCODING

FMS_OBJECT_ENCODING = 1 
 

GUEST_ROLE

GUEST_ROLE = 'anonymous' 
 

PERSISTENT_HEADER

PERSISTENT_HEADER = 'RequestPersistentHeader' 
 

RESULT_METHOD

RESULT_METHOD = '/onResult' 
 

STATUS_METHOD

STATUS_METHOD = '/onStatus' 
 

Special content length value that indicates "unknown" content length per AMF Specification

UNKNOWN_CONTENT_LENGTH = -1 
 

URL_APPEND_HEADER

URL_APPEND_HEADER = 'AppendToGatewayUrl'