Table of Content
Round Trip Time (RTT) headers are utilised in estimating the time that data takes to reach its destination and then return to the sender. It is crucial as it significantly brings into play the performance measurement of network connections between endpoints.
The syntax for an RTT header can be as follows:
<value> specifies the round trip delay time in milliseconds(ms).
Use of RTT header does not require any specific directives. It only uses a single value that indicates the estimated round-trip time in milliseconds.
Here is an example of the RTT header:
This indicates that the estimated round trip time is 50 milliseconds.
How to modify RTT header
ModHeader is a Chrome extension that allows you to modify headers on the fly. It is usually used for testing and bug-tracking purposes that require header manipulation. Here is a simple guide:
- Install the ModHeader extension from the Chrome Web Store and open it.
- In the "Add Request Header" field, input "RTT" in the first box.
- Input the value you want to use for the RTT header in the box next to it, say "100".
- Now, the RTT value in the request header is set to 100 ms.
Note: Modifying the RTT value can be beneficial in simulating different network conditions and assessing how your application responds to such scenarios.