Skip to content

THTTPHeader.SetFieldByName

Sets a header field value by field name

Declaration

Source position: httpdefs.pp line 401

public 
procedure THTTPHeader.SetFieldByName(const AName: string; 
                                    const AValue: string);

Description

SetFieldByName sets a header field value using the field name as a string. This provides a flexible way to set header fields by name rather than by enumerated type.