REST.Client.TCustomRESTRequest.AcceptEncoding

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AcceptEncoding: string read GetAcceptEncoding write SetAcceptEncoding stored AcceptEncodingIsStored nodefault;

C++

__property System::UnicodeString AcceptEncoding = {read=GetAcceptEncoding, write=SetAcceptEncoding, stored=AcceptEncodingIsStored};

Properties

Type Visibility Source Unit Parent
property public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTRequest

Description

Accept-Encoding field of the request, which specifies the types of HTTP compression that are acceptable for the response.

The default value is an empty string, which means that no compression is used. The specification explains the syntax that you can use for the value of this field. See this list of compression codes that you can specify in your request.

See Also