Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.SetHeaderByName

TElHTTPSClient     See also     


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


Sets value of some HTTP-header

Declaration

[C#/Java]
    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 GetHeaderByName(Headers: TStringList; 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)

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