Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The WINHTTP_REQUEST_STAT_ENTRY enumeration lists the available types of request statistics.
Syntax
typedef enum _WINHTTP_REQUEST_STAT_ENTRY {
WinHttpConnectFailureCount = 0,
WinHttpProxyFailureCount,
WinHttpTlsHandshakeClientLeg1Size,
WinHttpTlsHandshakeServerLeg1Size,
WinHttpTlsHandshakeClientLeg2Size,
WinHttpTlsHandshakeServerLeg2Size,
WinHttpRequestHeadersSize,
WinHttpRequestHeadersCompressedSize,
WinHttpResponseHeadersSize,
WinHttpResponseHeadersCompressedSize,
WinHttpResponseBodySize,
WinHttpResponseBodyCompressedSize,
WinHttpProxyTlsHandshakeClientLeg1Size,
WinHttpProxyTlsHandshakeServerLeg1Size,
WinHttpProxyTlsHandshakeClientLeg2Size,
WinHttpProxyTlsHandshakeServerLeg2Size,
WinHttpRequestStatLast,
WinHttpRequestStatMax = 32
} WINHTTP_REQUEST_STAT_ENTRY;
Constants
WinHttpConnectFailureCountValue: 0 The number of connection failures during connection establishment. |
WinHttpProxyFailureCountThe number of proxy connection failures during connection establishment. |
WinHttpTlsHandshakeClientLeg1SizeThe size of the client data for the first leg of the TLS handshake. |
WinHttpTlsHandshakeServerLeg1SizeThe size of the server data for the first leg of the TLS handshake. |
WinHttpTlsHandshakeClientLeg2SizeThe size of the client data for the second leg of the TLS handshake. |
WinHttpTlsHandshakeServerLeg2SizeThe size of the server data for the second leg of the TLS handshake. |
WinHttpRequestHeadersSizeThe size of the request headers. |
WinHttpRequestHeadersCompressedSizeThe compressed size of the request headers. |
WinHttpResponseHeadersSizeThe size of the response headers. |
WinHttpResponseHeadersCompressedSizeThe compressed size of the response headers. |
WinHttpResponseBodySizeThe size of the response body. |
WinHttpResponseBodyCompressedSizeThe compressed size of the response body. |
WinHttpProxyTlsHandshakeClientLeg1SizeThe size of the client data for the first leg of the proxy TLS handshake. |
WinHttpProxyTlsHandshakeServerLeg1SizeThe size of the server data for the first leg of the proxy TLS handshake. |
WinHttpProxyTlsHandshakeClientLeg2SizeThe size of the client data for the second leg of the proxy TLS handshake. |
WinHttpProxyTlsHandshakeServerLeg2SizeThe size of the server data for the second leg of the proxy TLS handshake. |
WinHttpRequestStatLastMarker for the end of the list of available statistics. |
WinHttpRequestStatMaxValue: 32 The maximum number of statistics available. |
Remarks
This structure is used with WinHttpQueryOption to retrieve statistics for a request by specifying the WINHTTP_OPTION_REQUEST_STATS 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 |