> ## 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

Obtém o URI de proxy do WebSocket.

## Sintaxe

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

### Parâmetros

*websocket*   \_In\_\
Tipo: HCWebsocketHandle

O identificador do WebSocket.

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

O URI de proxy codificado em UTF-8 do WebSocket.

### Valor retornado

Tipo: HRESULT

Código de resultado desta operação de API. Os valores possíveis são S\_OK, E\_INVALIDARG, E\_OUTOFMEMORY ou E\_FAIL.

## Requisitos

**Cabeçalho:** httpProvider.h

**Biblioteca:** libHttpClient.GDK.lib

## Confira também

[httpProvider](/pt-BR/reference/live/httpclient/httpprovider/httpprovider_members)


## Related topics

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