Unit 'IdHTTP' Package
[Overview][Constants][Types][Classes][Index] [#pl_indy]

TIdCustomHTTP

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: IdHTTP.pas line 465

type TIdCustomHTTP = class(TIdTCPClientCustom)

protected

  FAuthRetries: Integer;

  

  FAuthProxyRetries: Integer;

  

  FCookieManager: TIdCookieManager;

  

  FCompressor: TIdZLibCompressorBase;

  

  FImplicitCookieManager: Boolean;

  

  FMaxAuthRetries: Integer;

  

  FMaxHeaderLines: Integer;

  

  FAllowCookies: Boolean;

  

  FAuthenticationManager: TIdAuthenticationManager;

  

  FProtocolVersion: TIdHTTPProtocolVersion;

  

  FRedirectCount: Integer;

  

  FRedirectMax: Integer;

  

  FHandleRedirects: Boolean;

  

  FOptions: TIdHTTPOptions;

  

  FURI: TIdURI;

  

  FHTTPProto: TIdHTTPProtocol;

  

  FProxyParameters: TIdProxyConnectionInfo;

  

  FOnHeadersAvailable: TIdHTTPOnHeadersAvailable;

  

  FOnRedirect: TIdHTTPOnRedirectEvent;

  

  FOnSelectAuthorization: TIdOnSelectAuthorization;

  

  FOnSelectProxyAuthorization: TIdOnSelectAuthorization;

  

  FOnAuthorization: TIdOnAuthorization;

  

  FOnProxyAuthorization: TIdOnAuthorization;

  

  FOnChunkReceived: TIdOnChunkReceived;

  

  procedure DoRequest(); virtual;

  

  function CreateProtocol; virtual;

  

  procedure InitComponent; override;

  

  function InternalReadLn;

  

  procedure SetAuthenticationManager();

  

  procedure SetCookieManager();

  

  procedure SetAllowCookies();

  

  function GetResponseCode;

  

  function GetResponseText;

  

  function DoOnAuthorization(); virtual;

  

  function DoOnProxyAuthorization(); virtual;

  

  function DoOnRedirect(); virtual;

  

  procedure Notification(); override;

  

  procedure ProcessCookies();

  

  function SetHostAndPort;

  

  procedure SetCookies();

  

  procedure ReadResult();

  

  procedure PrepareRequest();

  

  procedure ConnectToHost();

  

  function GetResponse;

  

  function GetRequest;

  

  function GetMetaHTTPEquiv;

  

  procedure SetRequest();

  

  procedure SetProxyParams();

  

  function SetRequestParams();

  

  procedure CheckAndConnect();

  

  procedure DoOnDisconnected; override;

  

public

  destructor Destroy; override;

  

  procedure Delete();

  

  procedure Options();

  

  procedure Get();

  

  procedure Trace();

  

  procedure Head();

  

  function Post();

  

  function Put();

  

  procedure Patch();

  

  property Compressor: TIdZLibCompressorBase; [rw]

  

  property ResponseCode: Integer; [r]

  

  property ResponseText: string; [r]

  

  property Response: TIdHTTPResponse; [r]

  

  property MetaHTTPEquiv: TIdMetaHTTPEquiv; [r]

  

  property URL: TIdURI; [r]

  

  property AuthRetries: Integer; [r]

  

  property AuthProxyRetries: Integer; [r]

  

  property MaxAuthRetries: Integer; [rw]

  

  property AllowCookies: Boolean; [rw]

  

  property HandleRedirects: Boolean; [rw]

  

  property ProtocolVersion: TIdHTTPProtocolVersion; [rw]

  

  property RedirectCount: Integer; [r]

  

  property RedirectMaximum: Integer; [rw]

  

  property MaxHeaderLines: Integer; [rw]

  

  property ProxyParams: TIdProxyConnectionInfo; [rw]

  

  property Request: TIdHTTPRequest; [rw]

  

  property HTTPOptions: TIdHTTPOptions; [rw]

  

  property OnHeadersAvailable: TIdHTTPOnHeadersAvailable; [rw]

  

  property OnRedirect: TIdHTTPOnRedirectEvent; [rw]

  

  property OnSelectAuthorization: TIdOnSelectAuthorization; [rw]

  

  property OnSelectProxyAuthorization: TIdOnSelectAuthorization; [rw]

  

  property OnAuthorization: TIdOnAuthorization; [rw]

  

  property OnProxyAuthorization: TIdOnAuthorization; [rw]

  

  property OnChunkReceived: TIdOnChunkReceived; [rw]

  

  property CookieManager: TIdCookieManager; [rw]

  

  property AuthenticationManager: TIdAuthenticationManager; [rw]

  

end;

Inheritance

TIdCustomHTTP

  

|

TIdTCPClientCustom

  

|

TIdTCPConnection

  

|

TIdComponent

  

|

TIdBaseComponent

  

|

TIdInitializerComponent

  

|

TObject



CT Web help

CodeTyphon Studio