Unit 'fphttpserver' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl-web]

TFPCustomHttpServer

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

Declaration

Source position: fphttpserver.pp line 106

type TFPCustomHttpServer = class(TComponent)

protected

  function CreateSSLSocketHandler;

  function CreateCertificateData; virtual;

  function GetSocketHandler(); virtual;

  function CreateRequest; virtual;

  function CreateResponse(); virtual;

  procedure InitRequest(); virtual;

  procedure InitResponse(); virtual;

  procedure DoAcceptError();

  function CreateConnection(); virtual;

  function CreateConnectionThread(); virtual;

  procedure CheckInactive;

  procedure DoConnect(); virtual;

  procedure CreateServerSocket; virtual;

  procedure StartServerSocket; virtual;

  procedure StopServerSocket; virtual;

  procedure FreeServerSocket; virtual;

  procedure HandleRequest(); virtual;

  procedure HandleRequestError(); virtual;

  property ConnectionCount: Integer; [r]

public

  constructor Create(); override;

  destructor Destroy; override;

protected

  property Active: Boolean; [rw]

  property Address: string; [rw]

  property Port: Word; [rw]

  property QueueSize: Word; [rw]

  property OnAllowConnect: TConnectQuery; [rw]

  property Threaded: Boolean; [rw]

  property OnRequest: THTTPServerRequestHandler; [rw]

  property OnRequestError: TRequestErrorHandler; [rw]

  property OnAcceptIdle: TNotifyEvent; [rw]

  property AcceptIdleTimeout: Cardinal; [rw]

published

  property AdminMail: string; [rw]

  property AdminName: string; [rw]

  property ServerBanner: string; [rw]

  property LookupHostNames: Boolean; [rw]

  property HostName: string; [rw] deprecated ;

  property CertificateData: TCertificateData; [rw]

  property UseSSL: Boolean; [rw]

  property OnGetSocketHandler: TGetSocketHandlerEvent; [rw]

  property AfterSocketHandlerCreate: TSocketHandlerCreatedEvent; [rw]

end;

Inheritance

TFPCustomHttpServer

|

TObject


Documentation generated on: 2021-08-08