Adds an HTTP header to a headers collection
Source position: fphttpclient.pp line 259
public class procedure TFPCustomHTTPClient.AddHeader( |
HTTPHeaders: TStrings; |
const AHeader: string; |
const AValue: string |
); |
const AHeader: string; |
const AValue: string |
); |
HTTPHeaders |
|
The headers collection to add the header to |
AHeader |
|
The header name |
AValue |
|
The header value |
AHeader |
|
The header name |
AValue |
|
The header value |
Static utility method to add an HTTP header with the specified name and value to a headers collection. If a header with the same name already exists, its value is updated.
|
Gets the value of a header from a headers collection |