Returns the index of a header in a headers collection
Source position: fphttpclient.pp line 261
public class function TFPCustomHTTPClient.IndexOfHeader( |
HTTPHeaders: TStrings; |
const AHeader: string |
):Integer; |
const AHeader: string |
):Integer; |
HTTPHeaders |
|
The headers collection to search in |
AHeader |
|
The header name to search for |
The index of the header, or -1 if not found
AHeader |
|
The header name to search for |
Static utility method to find the index of a header with the specified name in a headers collection. Returns -1 if the header is not found.
|
Gets the value of a header from a headers collection |