Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.GetHeaderByName

TElHTTPSClient     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Returns value of some HTTP-header

Declaration

[C#/Java]
    string GetHeaderByName(TElStringList Headers, string Header);

[VB.NET]
    Function GetHeaderByName(ByVal Headers As TElStringList, ByVal Header As String) As String

[Pascal]
    function GetHeaderByName(Headers: TStringList; const Header: string): string;

[C++]
    void GetHeaderByName(TElStringList &Headers, const std::string &Header, std::string &OutResult);
    void GetHeaderByName(TElStringList *Headers, const std::string &Header, std::string &OutResult);

[PHP]
    string GetHeaderByName(TElStringList $Headers, string $Header)

Parameters

  • Headers - list of headers
  • Header - name of the header which value to be get

Return value

    Value of the specified header.

Description

    Use this method to get header value.

See also:     SetHeaderByName     SetRequestHeader     ClearRequest     RequestHeaders     ResponseHeaders    

Discuss this help topic in SecureBlackbox Forum