Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.MaxRedirections

TElHTTPSClient     See also     


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


Specifies maximum number of HTTP redirects.

Declaration

[C#]
    int MaxRedirections;

[VB.NET]
    Property MaxRedirections As Integer

[Pascal]
    property MaxRedirections : Integer;

[C++]
    int32_t get_MaxRedirections();
    void set_MaxRedirections(int32_t Value);

[PHP]
    integer get_MaxRedirections()
    void set_MaxRedirections(integer $Value)

[Java]
    int getMaxRedirections();
    void setMaxRedirections(int Value);

Description

    Use this property to specify maximum number of HTTP redirects.
    Set MaxRedirections to 0 to prevent any redirections. Set MaxRedirections to -1 to allow unlimited redirections. Set MaxRedirections to any value above 0 to allow redirections and limit their number.
    The default value is 10.

See also:     ContentLength     Date     OutputStream     KeepAlivePolicy     RequestParameters     ServerStatusCode     ServerReasonPhrase     SSLEnabled    

Discuss this help topic in SecureBlackbox Forum