Datasnap.DSHTTPClient.TDSHTTP.IRequestHeaderList.SetValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetValue(const AName, AValue: string);

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Datasnap.DSHTTPClient IRequestHeaderList

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