Partager via


HCWebSocketGetProxyUri

Get the proxy URI for the WebSocket.

Syntax

HRESULT HCWebSocketGetProxyUri(  
         HCWebsocketHandle websocket,  
         const char** proxyUri  
)  

Parameters

websocket   _In_
Type: HCWebsocketHandle

The handle of the WebSocket.

proxyUri   _Out_
Type: char**

The UTF-8 encoded proxy URI for the WebSocket.

Return value

Type: HRESULT

Result code for this API operation. Possible values are S_OK, E_INVALIDARG, E_OUTOFMEMORY, or E_FAIL.

Requirements

Header: httpProvider.h

Library: libHttpClient.GDK.lib

See also

httpProvider