Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.SetHeaderByName

TElHTTPSClient     See also     


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


Sets value of some HTTP-header

Declaration

[C#]
    void SetHeaderByName(TElStringList Headers, string Header, string Value);

[VB.NET]
    Sub SetHeaderByName(ByVal Headers As TElStringList, ByVal Header As String, ByVal Value As String)

[Pascal]
    procedure SetHeaderByName(Headers : TElStringList; const Header : string; const Value : string);

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

[PHP]
    void SetHeaderByName(TElStringList $Headers, string $Header, string $Value)

[Java]
    void setHeaderByName(TElStringList Headers, String Header, String Value);

Parameters

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

Description

    Use this method to set header value.

See also:     GetHeaderByName     SetRequestHeader     ClearRequest     RequestHeaders     ResponseHeaders    

Discuss this help topic in SecureBlackbox Forum