TFPCustomHTTPClient.IndexOfHeader¶
Returns the index of a header in a headers collection
Declaration¶
Source position: fphttpclient.pp line 273
public
class function IndexOfHeader(HTTPHeaders: TStrings;
const AHeader: string) : Integer;
function IndexOfHeader(const AHeader: string) : Integer;
Description¶
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.