0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0 0| STUN Message Type | Message Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Magic Cookie | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | | Transaction ID (96 bits) | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+The two most significant bits must be zero. The STUN message type contains the message class and the method of the message. Message length contains the size of the message without the header. The magic cookie is a fixed value which is defined in the STUN RFC 5389. The transaction id is for matching request/response messages. @author Alexander Diener (aldiener@htwg-konstanz.de)
Multiple Message Headers may be included within an AMF Packet.
@author Simeon Simeonov (simeons@macromedia.com) @excludeMessage
object is used to store an retrieve the headers for both a request and response. Headers are stored and retrieved in a case insensitive manner according to RFC 2616. The message also allows multiple header values to be added to a single header name, headers such as Cookie and Set-Cookie can be added multiple times with different values.
@author Niall Gallagher
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|