XblHttpCallRequestSetRequestBodyBytes
Set the request body bytes of the HTTP call.
Syntax
HRESULT XblHttpCallRequestSetRequestBodyBytes(
XblHttpCallHandle call,
const uint8_t* requestBodyBytes,
uint32_t requestBodySize
)
Parameters
call _In_
Type: XblHttpCallHandle
The handle of the HTTP call.
requestBodyBytes _In_reads_bytes_(requestBodySize)
Type: uint8_t*
The request body bytes of the HTTP call.
requestBodySize _In_
Type: uint32_t
The length in bytes of the body being set.
Return value
Type: HRESULT
Result code for this API operation. Possible values are S_OK, E_INVALIDARG, E_OUTOFMEMORY, or E_FAIL.
Remarks
This must be called prior to calling XblHttpCallPerformAsync.
Requirements
Header: http_call_c.h
Library: Microsoft.Xbox.Services.14x.GDK.C.lib