Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enable GZIP compression on the provided body payload.
Syntax
HRESULT HCHttpCallRequestEnableGzipCompression(
HCCallHandle call,
HCCompressionLevel level
)
Parameters
call _In_
Type: HCCallHandle
The handle of the HTTP call.
level _In_
Type: HCCompressionLevel
The desired compression level.
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 HCHttpCallPerformAsync.
Requirements
Header: httpClient.h
Library: libHttpClient.GDK.lib