Datasnap.DSHTTPClient.TDSHTTP.IRequestHeaderList.SetValue

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Unit: Datasnap.DSHTTPClient
Parent: IRequestHeaderList

Delphi

procedure SetValue(const AName, AValue: string);

C++

virtual void __fastcall SetValue(const System::UnicodeString AName, const System::UnicodeString AValue) = 0 ;

Description

Sets the value for the header of an HTTP request.

SetValue either adds or modifies the value of the header.

  • AName specifies the header.
  • AValue specifies the value.

SetValue is the setter method for the Values property.

See Also