diff --git a/sdk-api-src/content/winhttp/ne-winhttp-winhttp_request_stat_entry.md b/sdk-api-src/content/winhttp/ne-winhttp-winhttp_request_stat_entry.md new file mode 100644 index 000000000000..596735ddf232 --- /dev/null +++ b/sdk-api-src/content/winhttp/ne-winhttp-winhttp_request_stat_entry.md @@ -0,0 +1,156 @@ +--- +UID: NE:winhttp._WINHTTP_REQUEST_STAT_ENTRY +title: WINHTTP_REQUEST_STAT_ENTRY (winhttp.h) +description: The WINHTTP_REQUEST_STAT_ENTRY enumeration lists the available types of request statistics. +tech.root: WinHttp +ms.assetid: d9620011-7092-4260-a51f-48d84aebc89b +ms.date: 02/25/2020 +ms.keywords: WINHTTP_REQUEST_STAT_ENTRY, WINHTTP_REQUEST_STAT_ENTRY enumeration [HTTP], http.winhttp_request_stat_entry, winhttp/WINHTTP_REQUEST_STAT_ENTRY, WinHttpConnectFailureCount, WinHttpProxyFailureCount, WinHttpTlsHandshakeClientLeg1Size, WinHttpTlsHandshakeServerLeg1Size, WinHttpTlsHandshakeClientLeg2Size, WinHttpTlsHandshakeServerLeg2Size, WinHttpRequestHeadersSize, WinHttpRequestHeadersCompressedSize, WinHttpResponseHeadersSize, WinHttpResponseHeadersCompressedSize, WinHttpResponseBodySize, WinHttpResponseBodyCompressedSize, WinHttpProxyTlsHandshakeClientLeg1Size, WinHttpProxyTlsHandshakeServerLeg1Size, WinHttpProxyTlsHandshakeClientLeg2Size, WinHttpProxyTlsHandshakeServerLeg2Size, WinHttpRequestStatLast, WinHttpRequestStatMax, winhttp/WinHttpConnectFailureCount, winhttp/WinHttpProxyFailureCount, winhttp/WinHttpTlsHandshakeClientLeg1Size, winhttp/WinHttpTlsHandshakeServerLeg1Size, winhttp/WinHttpTlsHandshakeClientLeg2Size, winhttp/WinHttpTlsHandshakeServerLeg2Size, winhttp/WinHttpRequestHeadersSize, winhttp/WinHttpRequestHeadersCompressedSize, winhttp/WinHttpResponseHeadersSize, winhttp/WinHttpResponseHeadersCompressedSize, winhttp/WinHttpResponseBodySize, winhttp/WinHttpResponseBodyCompressedSize, winhttp/WinHttpProxyTlsHandshakeClientLeg1Size, winhttp/WinHttpProxyTlsHandshakeServerLeg1Size, winhttp/WinHttpProxyTlsHandshakeClientLeg2Size, winhttp/WinHttpProxyTlsHandshakeServerLeg2Size, winhttp/WinHttpRequestStatLast, winhttp/WinHttpRequestStatMax +f1_keywords: +- winhttp/WINHTTP_REQUEST_STAT_ENTRY +dev_langs: +- c++ +req.header: winhttp.h +req.include-header: +req.target-type: Windows +req.target-min-winverclnt: Windows 10, version 1903 [desktop apps only] +req.target-min-winversvr: Windows Server 2019 [desktop apps only] +req.kmdf-ver: +req.umdf-ver: +req.ddi-compliance: +req.unicode-ansi: +req.idl: +req.max-support: +req.namespace: +req.assembly: +req.type-library: +req.lib: +req.dll: +req.irql: +topic_type: +- APIRef +- kbSyntax +api_type: +- HeaderDef +api_location: +- winhttp.h +api_name: +- WINHTTP_REQUEST_STAT_ENTRY +targetos: Windows +req.typenames: WINHTTP_REQUEST_STAT_ENTRY +req.redist: +ms.custom: 19H1 +--- + +# WINHTTP_REQUEST_STAT_ENTRY enumeration + + +## -description + + +The **WINHTTP\_REQUEST\_STAT\_ENTRY** enumeration lists the available types of request statistics. + + +## -enum-fields + + +### -field WinHttpConnectFailureCount + +The number of connection failures during connection establishment. + + +### -field WinHttpProxyFailureCount + +The number of proxy connection failures during connection establishment. + + +### -field WinHttpTlsHandshakeClientLeg1Size + +The size of the client data for the first leg of the TLS handshake. + + +### -field WinHttpTlsHandshakeServerLeg1Size + +The size of the server data for the first leg of the TLS handshake. + + +### -field WinHttpTlsHandshakeClientLeg2Size + +The size of the client data for the second leg of the TLS handshake. + + +### -field WinHttpTlsHandshakeServerLeg2Size + +The size of the server data for the second leg of the TLS handshake. + + +### -field WinHttpRequestHeadersSize + +The size of the request headers. + + +### -field WinHttpRequestHeadersCompressedSize + +The compressed size of the request headers. + + +### -field WinHttpResponseHeadersSize + +The size of the response headers. + + +### -field WinHttpResponseHeadersCompressedSize + +The compressed size of the response headers. + + +### -field WinHttpResponseBodySize + +The size of the response body. + + +### -field WinHttpResponseBodyCompressedSize + +The compressed size of the response body. + + +### -field WinHttpProxyTlsHandshakeClientLeg1Size + +The size of the client data for the first leg of the proxy TLS handshake. + + +### -field WinHttpProxyTlsHandshakeServerLeg1Size + +The size of the server data for the first leg of the proxy TLS handshake. + + +### -field WinHttpProxyTlsHandshakeClientLeg2Size + +The size of the client data for the second leg of the proxy TLS handshake. + + +### -field WinHttpProxyTlsHandshakeServerLeg2Size + +The size of the server data for the second leg of the proxy TLS handshake. + + +### -field WinHttpRequestStatLast + +Marker for the end of the list of available statistics. + + +### -field WinHttpRequestStatMax + +The maximum number of statistics available. + + +## -remarks + +This structure is used with [WinHttpQueryOption](/windows/desktop/api/winhttp/nf-winhttp-winhttpqueryoption) to retrieve statistics for a request by specifying the **WINHTTP\_OPTION\_REQUEST\_STATS** flag. + + +## -see-also + +[WinHttpQueryOption](/windows/desktop/api/winhttp/nf-winhttp-winhttpqueryoption) + +[WINHTTP\_REQUEST\_STATS](/windows/desktop/api/winhttp/ns-winhttp-winhttp_request_stats) diff --git a/sdk-api-src/content/winhttp/ne-winhttp-winhttp_request_time_entry.md b/sdk-api-src/content/winhttp/ne-winhttp-winhttp_request_time_entry.md new file mode 100644 index 000000000000..c5a64621e0dc --- /dev/null +++ b/sdk-api-src/content/winhttp/ne-winhttp-winhttp_request_time_entry.md @@ -0,0 +1,255 @@ +--- +UID: NE:winhttp._WINHTTP_REQUEST_TIME_ENTRY +title: WINHTTP_REQUEST_TIME_ENTRY (winhttp.h) +description: The WINHTTP_REQUEST_TIME_ENTRY enumeration lists the available types of request timing information. +tech.root: WinHttp +ms.assetid: bf88ad85-4fd8-4bd5-9cbb-361b2a486bab +ms.date: 02/25/2020 +ms.keywords: WINHTTP_REQUEST_TIME_ENTRY, WINHTTP_REQUEST_TIME_ENTRY enumeration [HTTP], http.winhttp_request_time_entry, winhttp/WINHTTP_REQUEST_TIME_ENTRY, WinHttpProxyDetectionStart, 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, winhttp/WinHttpProxyDetectionStart, winhttp/WinHttpProxyDetectionEnd, winhttp/WinHttpConnectionAcquireStart, winhttp/WinHttpConnectionAcquireWaitEnd, winhttp/WinHttpConnectionAcquireEnd, winhttp/WinHttpNameResolutionStart, winhttp/WinHttpNameResolutionEnd, winhttp/WinHttpConnectionEstablishmentStart, winhttp/WinHttpConnectionEstablishmentEnd, winhttp/WinHttpTlsHandshakeClientLeg1Start, winhttp/WinHttpTlsHandshakeClientLeg1End, winhttp/WinHttpTlsHandshakeClientLeg2Start, winhttp/WinHttpTlsHandshakeClientLeg2End, winhttp/WinHttpTlsHandshakeClientLeg3Start, winhttp/WinHttpTlsHandshakeClientLeg3End, winhttp/WinHttpStreamWaitStart, winhttp/WinHttpStreamWaitEnd, winhttp/WinHttpSendRequestStart, winhttp/WinHttpSendRequestHeadersCompressionStart, winhttp/WinHttpSendRequestHeadersCompressionEnd, winhttp/WinHttpSendRequestHeadersEnd, winhttp/WinHttpSendRequestEnd, winhttp/WinHttpReceiveResponseStart, winhttp/WinHttpReceiveResponseHeadersDecompressionStart, winhttp/WinHttpReceiveResponseHeadersDecompressionEnd, winhttp/WinHttpReceiveResponseHeadersEnd, winhttp/WinHttpReceiveResponseBodyDecompressionDelta, winhttp/WinHttpReceiveResponseEnd, winhttp/WinHttpProxyTunnelStart, winhttp/WinHttpProxyTunnelEnd, winhttp/WinHttpProxyTlsHandshakeClientLeg1Start, winhttp/WinHttpProxyTlsHandshakeClientLeg1End, winhttp/WinHttpProxyTlsHandshakeClientLeg2Start, winhttp/WinHttpProxyTlsHandshakeClientLeg2End, winhttp/WinHttpProxyTlsHandshakeClientLeg3Start, winhttp/WinHttpProxyTlsHandshakeClientLeg3End, winhttp/WinHttpRequestTimeLast, winhttp/WinHttpRequestTimeMax +f1_keywords: +- winhttp/WINHTTP_REQUEST_TIME_ENTRY +dev_langs: +- c++ +req.header: winhttp.h +req.include-header: +req.target-type: Windows +req.target-min-winverclnt: Windows 10, version 1903 [desktop apps only] +req.target-min-winversvr: Windows Server 2019 [desktop apps only] +req.kmdf-ver: +req.umdf-ver: +req.ddi-compliance: +req.unicode-ansi: +req.idl: +req.max-support: +req.namespace: +req.assembly: +req.type-library: +req.lib: +req.dll: +req.irql: +topic_type: +- APIRef +- kbSyntax +api_type: +- HeaderDef +api_location: +- winhttp.h +api_name: +- WINHTTP_REQUEST_TIME_ENTRY +targetos: Windows +req.typenames: WINHTTP_REQUEST_TIME_ENTRY +req.redist: +ms.custom: 19H1 +--- + +# WINHTTP_REQUEST_TIME_ENTRY enumeration + + +## -description + +The **WINHTTP\_REQUEST\_TIME\_ENTRY** enumeration lists the available types of request timing information. + + +## -enum-fields + + +### -field WinHttpProxyDetectionStart + +Start of proxy detection. + + +### -field WinHttpProxyDetectionEnd + +End of proxy detection. + + +### -field WinHttpConnectionAcquireStart + +Start of connection acquisition. + + +### -field WinHttpConnectionAcquireWaitEnd + +End waiting for an available connection. + + +### -field WinHttpConnectionAcquireEnd + +End of connection acquisition. + + +### -field WinHttpNameResolutionStart + +Start of name resolution. + + +### -field WinHttpNameResolutionEnd + +End of name resolution. + + +### -field WinHttpConnectionEstablishmentStart + +Start of connection establishment. + + +### -field WinHttpConnectionEstablishmentEnd + +End of connection establishment. + + +### -field WinHttpTlsHandshakeClientLeg1Start + +Start of the first leg of the TLS handshake. + + +### -field WinHttpTlsHandshakeClientLeg1End + +End of the first leg of the TLS handshake. + + +### -field WinHttpTlsHandshakeClientLeg2Start + +Start of the second leg of the TLS handshake. + + +### -field WinHttpTlsHandshakeClientLeg2End + +End of the second leg of the TLS handshake. + + +### -field WinHttpTlsHandshakeClientLeg3Start + +Start of the third leg of the TLS handshake. + + +### -field WinHttpTlsHandshakeClientLeg3End + +End of the third leg of the TLS handshake. + + +### -field WinHttpStreamWaitStart + +Start waiting for an available stream. + + +### -field WinHttpStreamWaitEnd + +End waiting for an available stream. + + +### -field WinHttpSendRequestStart + +Start sending a request. + + +### -field WinHttpSendRequestHeadersCompressionStart + +Start of request header compression. + + +### -field WinHttpSendRequestHeadersCompressionEnd + +End of request header compression. + + +### -field WinHttpSendRequestHeadersEnd + +End sending request headers. + + +### -field WinHttpSendRequestEnd + +End sending a request. + + +### -field WinHttpReceiveResponseStart + +Start receiving a response. + + +### -field WinHttpReceiveResponseHeadersDecompressionStart + +Start of response header decompression. + + +### -field WinHttpReceiveResponseHeadersDecompressionEnd + +End of response header decompression. + + +### -field WinHttpReceiveResponseHeadersEnd + +End receiving response headers. + + +### -field WinHttpReceiveResponseBodyDecompressionDelta + +Delta between start and end times for response body decompression. + + +### -field WinHttpReceiveResponseEnd + +End receiving a response. + + +### -field WinHttpProxyTunnelStart + +Start establishing a proxy tunnel. + + +### -field WinHttpProxyTunnelEnd + +End establishing a proxy tunnel. + + +### -field WinHttpProxyTlsHandshakeClientLeg1Start + +Start of the first leg of the proxy TLS handshake. + + +### -field WinHttpProxyTlsHandshakeClientLeg1End + +End of the first leg of the proxy TLS handshake. + + +### -field WinHttpProxyTlsHandshakeClientLeg2Start + +Start of the second leg of the proxy TLS handshake. + + +### -field WinHttpProxyTlsHandshakeClientLeg2End + +End of the second leg of the proxy TLS handshake. + + +### -field WinHttpProxyTlsHandshakeClientLeg3Start + +Start of the third leg of the proxy TLS handshake. + + +### -field WinHttpProxyTlsHandshakeClientLeg3End + +End of the third leg of the proxy TLS handshake. + + +### -field WinHttpRequestTimeLast + +Marker for the end of the list of available timings. + + +### -field WinHttpRequestTimeMax + +The maximum number of timings available. + + +## -remarks + +This structure is used with [WinHttpQueryOption](/windows/desktop/api/winhttp/nf-winhttp-winhttpqueryoption) to retrieve timing information for a request by specifying the **WINHTTP\_OPTION\_REQUEST\_TIMES** flag. + + +## -see-also + +[WinHttpQueryOption](/windows/desktop/api/winhttp/nf-winhttp-winhttpqueryoption) + +[WINHTTP\_REQUEST\_TIMES](/windows/desktop/api/winhttp/ns-winhttp-winhttp_request_times) diff --git a/sdk-api-src/content/winhttp/nf-winhttp-winhttpqueryoption.md b/sdk-api-src/content/winhttp/nf-winhttp-winhttpqueryoption.md index 5da57516df6a..686d178017bc 100644 --- a/sdk-api-src/content/winhttp/nf-winhttp-winhttpqueryoption.md +++ b/sdk-api-src/content/winhttp/nf-winhttp-winhttpqueryoption.md @@ -89,7 +89,7 @@ A pointer to an unsigned long integer variable that contains the length of Returns TRUE if successful, or FALSE otherwise. To get a specific error message, call -GetLastError. Among the error codes returned are the following. +GetLastError. Among the error codes returned are the following: