Skip to content

THTTPHeader.SetHeader

Sets the value of a specific header field

Declaration

Source position: httpdefs.pp line 399

public 
procedure THTTPHeader.SetHeader(AHeader: THeader; const AValue: string);

Description

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