C# Class Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrr.MESSAGE_HEADER

All Retrieval Protocol messages are prefixed by a message header.Messages can be one of two types: request-type or response-type. Request-type messages initiate a communication session between two peers. Response-type messages are sent only on response to a Request-type one (see Protocol Details section for more details).A request-type message can be delivered only as an HTTP request. A response-type message can be delivered only as an HTTP response to an incoming HTTP request.The layout of the message header is as follows.
Datei anzeigen Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
ProtVer ProtoVersion

Property Details

ProtVer public_oe property

Protocol version number, formed by concatenating the protocol major version number and protocol minor version number, encoded as follows (where MSB is Most Significant Byte and LSB is Least Significant Byte):1st Byte (Addr: X)2nd Byte (Addr: X+1)3rd Byte (Addr: X+2)4th Byte (Addr: X+3)Minor version MSBMinor version LSBMajor version MSBMajor version LSBThe major version number is encoded in the least significant word of the protocol version's DWORD.The minor version number is encoded in the most significant word of the protocol version's DWORD.Currently, the protocol version number MUST be set to {major=1 (0x0001), minor=0 (0x0000)}.
public ProtoVersion,Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrr ProtVer
return ProtoVersion