Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
WinHttpProxyDetectionStartValue: 0 Start of proxy detection. |
WinHttpProxyDetectionEndEnd of proxy detection. |
WinHttpConnectionAcquireStartStart of connection acquisition. |
WinHttpConnectionAcquireWaitEndEnd waiting for an available connection. |
WinHttpConnectionAcquireEndEnd of connection acquisition. |
WinHttpNameResolutionStartStart of name resolution. |
WinHttpNameResolutionEndEnd of name resolution. |
WinHttpConnectionEstablishmentStartStart of connection establishment. |
WinHttpConnectionEstablishmentEndEnd of connection establishment. |
WinHttpTlsHandshakeClientLeg1StartStart of the first leg of the TLS handshake. |
WinHttpTlsHandshakeClientLeg1EndEnd of the first leg of the TLS handshake. |
WinHttpTlsHandshakeClientLeg2StartStart of the second leg of the TLS handshake. |
WinHttpTlsHandshakeClientLeg2EndEnd of the second leg of the TLS handshake. |
WinHttpTlsHandshakeClientLeg3StartStart of the third leg of the TLS handshake. |
WinHttpTlsHandshakeClientLeg3EndEnd of the third leg of the TLS handshake. |
WinHttpStreamWaitStartStart waiting for an available stream. |
WinHttpStreamWaitEndEnd waiting for an available stream. |
WinHttpSendRequestStartStart sending a request. |
WinHttpSendRequestHeadersCompressionStartStart of request header compression. |
WinHttpSendRequestHeadersCompressionEndEnd of request header compression. |
WinHttpSendRequestHeadersEndEnd sending request headers. |
WinHttpSendRequestEndEnd sending a request. |
WinHttpReceiveResponseStartStart receiving a response. |
WinHttpReceiveResponseHeadersDecompressionStartStart of response header decompression. |
WinHttpReceiveResponseHeadersDecompressionEndEnd of response header decompression. |
WinHttpReceiveResponseHeadersEndEnd receiving response headers. |
WinHttpReceiveResponseBodyDecompressionDeltaDelta between start and end times for response body decompression. |
WinHttpReceiveResponseEndEnd receiving a response. |
WinHttpProxyTunnelStartStart establishing a proxy tunnel. |
WinHttpProxyTunnelEndEnd establishing a proxy tunnel. |
WinHttpProxyTlsHandshakeClientLeg1StartStart of the first leg of the proxy TLS handshake. |
WinHttpProxyTlsHandshakeClientLeg1EndEnd of the first leg of the proxy TLS handshake. |
WinHttpProxyTlsHandshakeClientLeg2StartStart of the second leg of the proxy TLS handshake. |
WinHttpProxyTlsHandshakeClientLeg2EndEnd of the second leg of the proxy TLS handshake. |
WinHttpProxyTlsHandshakeClientLeg3StartStart of the third leg of the proxy TLS handshake. |
WinHttpProxyTlsHandshakeClientLeg3EndEnd of the third leg of the proxy TLS handshake. |
WinHttpRequestTimeLastMarker for the end of the list of available timings. |
WinHttpRequestTimeMaxValue: 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 |