Discuss this help topic in SecureBlackbox Forum

TElHTTPSClient.MaxRedirections

TElHTTPSClient     See also     


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


Specifies maximum number of HTTP redirects.

Declaration

[C#/Java]
    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)

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