Class wsc.Message#header
The general header part of the message.
Constructor Attributes | Constructor Name and Description |
---|---|
This part contains information related to the specific action involved in the message.
|
Field Attributes | Field Name and Description |
---|---|
This is the action which the message is used for.
|
|
Optional: This is the error code of the message, only apply to error type message.
|
|
This is the user who initiated a request.
|
|
This is the user the request target to.
|
Class Detail
wsc.Message#header()
This part contains information related to the specific action involved in the message.
For example, for a START request, such information would contain who initiated the request, who it is intended for etc.
The web application may add additional headers to the this section. Such headers may be mapped by a gateway
server to a SIP header or a parameter.
Field Detail
{String}
action
This is the action which the message is used for.
{number}
error_code
Optional: This is the error code of the message, only apply to error type message.
{String}
initiator
This is the user who initiated a request.
{String}
target
This is the user the request target to.