Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Set the response body byte buffer of the HTTP call. If a custom write callback was previously set on this call handle using HCHttpCallResponseSetResponseBodyWriteFunction, this operation will fail as these are mutually exclusive.
Syntax
HRESULT HCHttpCallResponseSetResponseBodyBytes(
HCCallHandle call,
const uint8_t* bodyBytes,
size_t bodySize
)
Parameters
call _In_
Type: HCCallHandle
The handle of the HTTP call.
bodyBytes _In_reads_bytes_(bodySize)
Type: uint8_t*
The response body bytes of the HTTP call.
bodySize _In_
Type: size_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.
Requirements
Header: httpProvider.h
Library: libHttpClient.GDK.lib