Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

THTTPHeader.SetHeader

Sets the value of a specific header field

Declaration

Source position: httpdefs.pp line 387

public procedure THTTPHeader.SetHeader(

  AHeader: THeader;

  const AValue: string

);

Arguments

AHeader

  

Header field type to set

AValue

  

Value to set for the header field

Description

SetHeader assigns a value to a specific HTTP header field. This method updates the header field with the provided value.


Documentation generated on: Jan 16 2026