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

TFPCustomFileModule

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

Declaration

Source position: fpwebfile.pp line 32

type TFPCustomFileModule = class(TCustomHTTPModule)

protected

  function GetRequestFileName(); virtual;

  function MapFileName(); virtual;

  function AllowFile(); virtual;

  procedure SendFile(); virtual;

public

  constructor CreateNew(); override; overload;

  procedure HandleRequest(); override;

  property CacheControlMaxAge: Integer; [rw]

  OnLog: TSimpleFileLog;

published

  property CORS: TCORSSupport;

  property Kind: TWebModuleKind;

  property BaseURL: string;

  property AfterInitModule: TInitModuleEvent;

end;

Inheritance

TFPCustomFileModule

|

TCustomHTTPModule

|

TObject


Documentation generated on: 2023-03-18