Table of Contents

TTMSMCPClientTransportHTTPMessageEvent Event Type

Reports the payload a request came back with, together with the media type that says how the payload has to be read.

API unit family: TMS.MCP.Client.Transport.HTTP

Remarks

Raised on the worker that issued the request, so a handler that touches the user interface must marshal the work.

Parameters

Name Description
AContentType Media type of the payload, lowercased and stripped of its parameters. A streaming media type means the payload is one event taken from an open stream, any other means it is a complete response body.
AMessage Payload itself: either a single JSON-RPC message, or an array of messages that the receiver splits.