HCWebSocketSetProxyDecryptsHttps
Allows proxy server to decrypt and inspect traffic; should be used only for debugging purposes This must be called after calling HCWebSocketSetProxyUri. Only applies to Win32 non-GDK builds
Syntax
HRESULT HCWebSocketSetProxyDecryptsHttps(
HCWebsocketHandle websocket,
bool allowProxyToDecryptHttps
)
Parameters
websocket _In_
Type: HCWebsocketHandle
The handle of the WebSocket
allowProxyToDecryptHttps _In_z_
Type: bool
true is proxy can decrypt, false is not allowed to decrypt
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, E_OUTOFMEMORY, or E_FAIL.
Requirements
Header: httpClient.h
Library: libHttpClient.141.GSDK.C.lib