Namespace inet::httptools
HttpBaseMessage
packetBase class for HTTP messages
Fields
Name | Type | Description |
---|---|---|
targetUrl | string |
The target URL - request set for browsers, echoed by servers. |
originatorUrl | string |
The originator URL. Only applicable for servers. |
protocol | int |
10 for http/1.0, 11 for http/1.1. |
keepAlive | bool |
The keep-alive header |
serial | int |
Convenience field which allows resource requests to be serially tagged for ease of analysis. |
heading | string |
The message heading - request string for requests, response for replies |
payload | string |
The payload field |
Source code
// // Base class for HTTP messages // packet HttpBaseMessage { @omitGetVerb(true); @fieldNameSuffix("_var"); string targetUrl; // The target URL - request set for browsers, echoed by servers. string originatorUrl = ""; // The originator URL. Only applicable for servers. int protocol = 11; // 10 for http/1.0, 11 for http/1.1. bool keepAlive = true; // The keep-alive header int serial = 0; // Convenience field which allows resource requests to be serially tagged for ease of analysis. string heading = ""; // The message heading - request string for requests, response for replies string payload = ""; // The payload field }File: src/inet/applications/httptools/common/HttpMessages.msg