ServerResponse
Synopsis
final struct ServerResponse{
string origin;
string messageId;
StringPair[] data;
SendMessageStatus statusCode;
string[] errorDetail;
string targetErrorCode
}
See also: StringPair
See also: SendMessageStatus
origin
Identifies the origin of the response. Same rules as for ClientMessage.target, but the substring following plugin: is always non-empty.
messageId
Identifies the message. It is always equal to the messageId of the corresponding ClientMessage.
data
Is the payload of the response, a possibly empty list of key/value pairs. Keys must adhere to the rules for NCName. data is always empty if statusCode is not OK.
statusCode
Is used to signal and identify error during message delivery.
errorDetail
Is used to provide additional information for some kinds of errors.