Unit 'custmicrohttpapp' Package
[Overview][Types][Classes][Index] [#fcl-web]

TMicroHTTPHandler

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

Declaration

Source position: custmicrohttpapp.pp line 105

type TMicroHTTPHandler = class(TWebHandler)

protected

  function OptionsToFlags;

  function DoAcceptConnection();

  procedure CheckInactive;

  function CreateServer; virtual;

  procedure HandleRequestError(); virtual;

  procedure InitRequest(); override;

  procedure InitResponse(); override;

  function WaitForRequest(); override;

  property Daemon: PMHD_Daemon; [r]

public

  procedure Run; override;

  constructor Create(); override;

  destructor Destroy; override;

  property Port: Word; [rw]

  property HostName: string; [rw]

  property Options: TMicroServerOptions; [rw]

  property OnAccept: TAcceptHandler; [rw]

  property OnRequestError: TRequestErrorHandler; [rw]

  property ExtraHeaders: TStrings; [rw]

end;

Inheritance

TMicroHTTPHandler

|

TWebHandler

|

TObject


Documentation generated on: 2023-03-18