2.2.3 TCP Message Syntax

The Remote Method payload is transmitted in message content between clients and server. The protocol does not consume or modify the message content (except in the case of chunked encoding where the message content is encoded into one or more chunks). The protocol inserts a message frame before the message content and consumes it on the receiving end. The message frame contains the following information:

  1. OperationType that specifies whether the message is a Two-Way Request, Two-Way Response or One-Way message.

  2. Request URI that identifies the Server Object.

  3. Content Type that identifies the serialization format.

  4. ContentDistribution that specifies whether or not the message content is transmitted as chunked encoding.

  5. Close Connection header that indicates whether the connection must be closed after reading the message.

  6. Custom Headers from higher layers.