Unit 'lhttp' Package
[Overview][Constants][Types][Classes][Index] [#pl_lnet]

TLHTTPClient

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

Declaration

Source position: lhttp.pp line 451

type TLHTTPClient = class(TLHTTPConnection)

protected

  FRequest: TClientRequest;

  

  FResponse: TClientResponse;

  

  FHeaderOut: THeaderOutInfo;

  

  FState: TLHTTPClientState;

  

  FPendingResponses: Integer;

  

  FOutputEof: Boolean;

  

  FOnCanWrite: TLCanWriteEvent;

  

  FOnDoneInput: TLHTTPClientEvent;

  

  FOnInput: TLInputEvent;

  

  FOnProcessHeaders: TLHTTPClientEvent;

  

  procedure ConnectEvent(); override;

  

  procedure DoDoneInput();

  

  function DoHandleInput();

  

  procedure DoProcessHeaders();

  

  function DoWriteBlock();

  

  function InitSocket(); override;

  

  procedure InternalSendRequest;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure AddExtraHeader();

  

  procedure AddCookie();

  

  procedure ClearExtraHeaders;

  

  procedure ResetRange;

  

  procedure SendRequest;

  

  property ContentLength: Integer; [rw]

  

  property Method: TLHTTPMethod; [rw]

  

  property PendingResponses: Integer; [r]

  

  property RangeStart: QWord; [rw]

  

  property RangeEnd: QWord; [rw]

  

  property Request: TClientRequest; [r]

  

  property State: TLHTTPClientState; [r]

  

  property URI: string; [rw]

  

  property Response: TClientResponse; [r]

  

  property OnCanWrite: TLCanWriteEvent; [rw]

  

  property OnDoneInput: TLHTTPClientEvent; [rw]

  

  property OnInput: TLInputEvent; [rw]

  

  property OnProcessHeaders: TLHTTPClientEvent; [rw]

  

end;

Inheritance

TLHTTPClient

  

|

TLHTTPConnection

  

|

TLTcp

  

|

TLConnection

  

|

TLComponent,ILDirect,ILServer,ILClient

  

|

TObject,ILComponent



CT Web help

CodeTyphon Studio