System.Net.HttpClient.THTTPClient.SetMaxRedirects

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetMaxRedirects(const Value: Integer); virtual;

C++

virtual void __fastcall SetMaxRedirects(const int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Net.HttpClient.pas
System.Net.HTTPClient.hpp
System.Net.HttpClient THTTPClient


Description

Setter of FMaxRedirects.

SetMaxRedirects sets the maximum number (Value) of redirections that the HTTP client can follow during the execution of an HTTP request.

FMaxRedirects should be overridden if more processing is needed.

See Also