Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.GetHeaderByName

TElHTTPSClient     See also     


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


Returns value of some HTTP-header

Declaration

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

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

[Pascal]
    function GetHeaderByName(Headers : TElStringList; 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)

[Java]
    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