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

# XblHttpCallGetResponseBodyBytes

> XblHttpCallGetResponseBodyBytes

# XblHttpCallGetResponseBodyBytes

Obtém o buffer do corpo da resposta da chamada HTTP.

## Sintaxe

```cpp theme={null}
HRESULT XblHttpCallGetResponseBodyBytes(  
         XblHttpCallHandle call,  
         size_t bufferSize,  
         uint8_t* buffer,  
         size_t* bufferUsed  
)  
```

### Parâmetros

*call*   \_In\_\
Tipo: [XblHttpCallHandle](/pt-BR/reference/live/xsapi-c/http_call_c/handles/xblhttpcallhandle)

O identificador da chamada HTTP.

*bufferSize*   \_In\_\
Tipo: size\_t

O tamanho do buffer do corpo da resposta que está sendo passado.

*buffer*   \_Out\_writes\_bytes\_to\_(bufferSize,*bufferUsed)\
Tipo: uint8\_t*

O buffer no qual gravar.

*bufferUsed*   \_Out\_opt\_\
Tipo: size\_t\*

O número real de bytes gravados no buffer.

### Valor retornado

Tipo: HRESULT

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

## Comentários

Isso só pode ser chamado após chamar [XblHttpCallPerformAsync](/pt-BR/reference/live/xsapi-c/http_call_c/functions/xblhttpcallperformasync) quando a tarefa HTTP for concluída. Isso só será válido se o responsetype passado para PerformAsync tiver sido Vector.

## Requisitos

**Cabeçalho:** http\_call\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Confira também

[http\_call\_c](/pt-BR/reference/live/xsapi-c/http_call_c/http_call_c_members)


## Related topics

- [XblHttpCallGetResponseBodyBytes](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytes.md)
- [HTTP and WebSocket web requests in the GDK](/build/console-features/networking/web-requests/http-networking.md)
- [XblHttpCallGetResponseBodyBytesSize](/reference/live/xsapi-c/http_call_c/functions/xblhttpcallgetresponsebodybytessize.md)
