> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HCWebSocketGetProxyUri

> HCWebSocketGetProxyUri

# HCWebSocketGetProxyUri

Obtiene el URI del proxy para el WebSocket.

## Sintaxis

```cpp theme={null}
HRESULT HCWebSocketGetProxyUri(  
         HCWebsocketHandle websocket,  
         const char** proxyUri  
)  
```

### Parámetros

*websocket*   \_In\_\
Tipo: HCWebsocketHandle

El identificador del WebSocket.

*proxyUri*   \_Out\_\
Tipo: char\*\*

El URI del proxy codificado en UTF-8 para el WebSocket.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API. Los valores posibles son S\_OK, E\_INVALIDARG, E\_OUTOFMEMORY o E\_FAIL.

## Requisitos

**Encabezado:** httpProvider.h

**Biblioteca:** libHttpClient.GDK.lib

## Consulte también

[httpProvider](/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

- [HCWebSocketSetProxyUri](/es/reference/live/httpclient/httpclient/functions/hcwebsocketsetproxyuri.md)
- [HCWebSocketSetProxyDecryptsHttps](/es/reference/live/httpclient/httpclient/functions/hcwebsocketsetproxydecryptshttps.md)
- [HCWebSocketCreate](/es/reference/live/httpclient/httpclient/functions/hcwebsocketcreate.md)
- [HCSetGlobalProxy](/es/reference/live/httpclient/httpclient/functions/hcsetglobalproxy.md)
- [HCWebSocketConnectAsync](/es/reference/live/httpclient/httpclient/functions/hcwebsocketconnectasync.md)
