WINHTTP_REQUEST_TIME_ENTRY enumeration (winhttp.h)

The WINHTTP_REQUEST_TIME_ENTRY enumeration lists the available types of request timing information.

Syntax

typedef enum _WINHTTP_REQUEST_TIME_ENTRY {
  WinHttpProxyDetectionStart = 0,
  WinHttpProxyDetectionEnd,
  WinHttpConnectionAcquireStart,
  WinHttpConnectionAcquireWaitEnd,
  WinHttpConnectionAcquireEnd,
  WinHttpNameResolutionStart,
  WinHttpNameResolutionEnd,
  WinHttpConnectionEstablishmentStart,
  WinHttpConnectionEstablishmentEnd,
  WinHttpTlsHandshakeClientLeg1Start,
  WinHttpTlsHandshakeClientLeg1End,
  WinHttpTlsHandshakeClientLeg2Start,
  WinHttpTlsHandshakeClientLeg2End,
  WinHttpTlsHandshakeClientLeg3Start,
  WinHttpTlsHandshakeClientLeg3End,
  WinHttpStreamWaitStart,
  WinHttpStreamWaitEnd,
  WinHttpSendRequestStart,
  WinHttpSendRequestHeadersCompressionStart,
  WinHttpSendRequestHeadersCompressionEnd,
  WinHttpSendRequestHeadersEnd,
  WinHttpSendRequestEnd,
  WinHttpReceiveResponseStart,
  WinHttpReceiveResponseHeadersDecompressionStart,
  WinHttpReceiveResponseHeadersDecompressionEnd,
  WinHttpReceiveResponseHeadersEnd,
  WinHttpReceiveResponseBodyDecompressionDelta,
  WinHttpReceiveResponseEnd,
  WinHttpProxyTunnelStart,
  WinHttpProxyTunnelEnd,
  WinHttpProxyTlsHandshakeClientLeg1Start,
  WinHttpProxyTlsHandshakeClientLeg1End,
  WinHttpProxyTlsHandshakeClientLeg2Start,
  WinHttpProxyTlsHandshakeClientLeg2End,
  WinHttpProxyTlsHandshakeClientLeg3Start,
  WinHttpProxyTlsHandshakeClientLeg3End,
  WinHttpRequestTimeLast,
  WinHttpRequestTimeMax = 64
} WINHTTP_REQUEST_TIME_ENTRY;

Constants

 
WinHttpProxyDetectionStart
Value: 0
Start of proxy detection.
WinHttpProxyDetectionEnd
End of proxy detection.
WinHttpConnectionAcquireStart
Start of connection acquisition.
WinHttpConnectionAcquireWaitEnd
End waiting for an available connection.
WinHttpConnectionAcquireEnd
End of connection acquisition.
WinHttpNameResolutionStart
Start of name resolution.
WinHttpNameResolutionEnd
End of name resolution.
WinHttpConnectionEstablishmentStart
Start of connection establishment.
WinHttpConnectionEstablishmentEnd
End of connection establishment.
WinHttpTlsHandshakeClientLeg1Start
Start of the first leg of the TLS handshake.
WinHttpTlsHandshakeClientLeg1End
End of the first leg of the TLS handshake.
WinHttpTlsHandshakeClientLeg2Start
Start of the second leg of the TLS handshake.
WinHttpTlsHandshakeClientLeg2End
End of the second leg of the TLS handshake.
WinHttpTlsHandshakeClientLeg3Start
Start of the third leg of the TLS handshake.
WinHttpTlsHandshakeClientLeg3End
End of the third leg of the TLS handshake.
WinHttpStreamWaitStart
Start waiting for an available stream.
WinHttpStreamWaitEnd
End waiting for an available stream.
WinHttpSendRequestStart
Start sending a request.
WinHttpSendRequestHeadersCompressionStart
Start of request header compression.
WinHttpSendRequestHeadersCompressionEnd
End of request header compression.
WinHttpSendRequestHeadersEnd
End sending request headers.
WinHttpSendRequestEnd
End sending a request.
WinHttpReceiveResponseStart
Start receiving a response.
WinHttpReceiveResponseHeadersDecompressionStart
Start of response header decompression.
WinHttpReceiveResponseHeadersDecompressionEnd
End of response header decompression.
WinHttpReceiveResponseHeadersEnd
End receiving response headers.
WinHttpReceiveResponseBodyDecompressionDelta
Delta between start and end times for response body decompression.
WinHttpReceiveResponseEnd
End receiving a response.
WinHttpProxyTunnelStart
Start establishing a proxy tunnel.
WinHttpProxyTunnelEnd
End establishing a proxy tunnel.
WinHttpProxyTlsHandshakeClientLeg1Start
Start of the first leg of the proxy TLS handshake.
WinHttpProxyTlsHandshakeClientLeg1End
End of the first leg of the proxy TLS handshake.
WinHttpProxyTlsHandshakeClientLeg2Start
Start of the second leg of the proxy TLS handshake.
WinHttpProxyTlsHandshakeClientLeg2End
End of the second leg of the proxy TLS handshake.
WinHttpProxyTlsHandshakeClientLeg3Start
Start of the third leg of the proxy TLS handshake.
WinHttpProxyTlsHandshakeClientLeg3End
End of the third leg of the proxy TLS handshake.
WinHttpRequestTimeLast
Marker for the end of the list of available timings.
WinHttpRequestTimeMax
Value: 64
The maximum number of timings available.

Remarks

This structure is used with WinHttpQueryOption to retrieve timing information for a request by specifying the WINHTTP_OPTION_REQUEST_TIMES flag.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1903 [desktop apps only]
Minimum supported server Windows Server 2019 [desktop apps only]
Header winhttp.h

See also

WinHttpQueryOption

WINHTTP_REQUEST_TIMES