Changeset 151 for trunk/Packages/CoolWeb/WebServer
- Timestamp:
- Feb 4, 2024, 3:53:52 PM (11 months ago)
- Location:
- trunk/Packages/CoolWeb/WebServer
- Files:
-
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CoolWeb/WebServer/HTTPServer.pas
r150 r151 1 unit UHTTPServer;1 unit HTTPServer; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, Common, UMemoryStreamEx, UMIMEType, Synautil, Syncobjs,6 Classes, SysUtils, Common, MemoryStreamEx, MIMEType, Synautil, Syncobjs, 7 7 Generics.Collections, Generics; 8 8 … … 77 77 78 78 TRequestHandlerList = class(TObjectList<TRequestHandler>) 79 procedure Add(AName: string; AHandler: TRequestEvent);79 function AddNew(AName: string; AHandler: TRequestEvent): TRequestHandler; 80 80 function IndexOfName(AName: string): TRequestHandler; 81 81 end; … … 279 279 { TRequestHandlerList } 280 280 281 procedure TRequestHandlerList.Add(AName: string; AHandler: TRequestEvent);282 begin 283 with TRequestHandler(Items[inherited Add(TRequestHandler.Create)]) do begin284 285 286 end;281 function TRequestHandlerList.AddNew(AName: string; AHandler: TRequestEvent): TRequestHandler; 282 begin 283 Result := TRequestHandler.Create; 284 Result.Name := AName; 285 Result.Handler := AHandler; 286 Add(Result); 287 287 end; 288 288 -
trunk/Packages/CoolWeb/WebServer/HTTPServerCGI.pas
r150 r151 1 unit UHTTPServerCGI;1 unit HTTPServerCGI; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, UHTTPServer, IOStream, Generics.Collections;6 Classes, SysUtils, HTTPServer, IOStream, Generics.Collections; 7 7 8 8 type -
trunk/Packages/CoolWeb/WebServer/HTTPServerTCP.pas
r150 r151 1 unit UHTTPServerTCP;1 unit HTTPServerTCP; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, UHTTPServer, UTCPServer, SynaUtil, Generics.Collections,6 Classes, SysUtils, HTTPServer, TCPServer, SynaUtil, Generics.Collections, 7 7 Generics; 8 8 -
trunk/Packages/CoolWeb/WebServer/HTTPServerTurboPower.pas
r150 r151 1 unit UHTTPServerTurboPower;1 unit HTTPServerTurboPower; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, Forms, UHTTPServer, IpHtml;6 Classes, SysUtils, Forms, HTTPServer, IpHtml; 7 7 8 8 type … … 23 23 24 24 uses 25 UTurboPowerForm;25 TurboPowerForm; 26 26 27 27 procedure Register; -
trunk/Packages/CoolWeb/WebServer/HTTPSessionFile.pas
r150 r151 1 unit UHTTPSessionFile;1 unit HTTPSessionFile; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, UHTTPServer, syncobjs, synacode, Common, FileUtil,6 Classes, SysUtils, HTTPServer, syncobjs, synacode, Common, FileUtil, 7 7 LazFileUtils; 8 8 -
trunk/Packages/CoolWeb/WebServer/HTTPSessionMySQL.pas
r150 r151 1 unit UHTTPSessionMySQL;1 unit HTTPSessionMySQL; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, UHTTPServer, syncobjs, synacode, Common, USqlDatabase;6 Classes, SysUtils, HTTPServer, syncobjs, synacode, Common, SqlDatabase; 7 7 8 8 type -
trunk/Packages/CoolWeb/WebServer/TurboPowerForm.pas
r150 r151 1 unit UTurboPowerForm;1 unit TurboPowerForm; 2 2 3 3 interface -
trunk/Packages/CoolWeb/WebServer/WebApp.pas
r150 r151 1 unit UWebApp;1 unit WebApp; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, UWebPage, UHTTPSessionFile, UHTTPServer, Forms, FileUtil,6 Classes, SysUtils, WebPage, HTTPSessionFile, HTTPServer, Forms, FileUtil, 7 7 Generics.Collections; 8 8 … … 60 60 61 61 uses 62 UHTTPServerCGI, UHTTPServerTCP, UHTTPServerTurboPower;62 HTTPServerCGI, HTTPServerTCP, HTTPServerTurboPower; 63 63 64 64 procedure Register; -
trunk/Packages/CoolWeb/WebServer/WebPage.pas
r150 r151 1 unit UWebPage;1 unit WebPage; 2 2 3 3 interface 4 4 5 5 uses 6 Classes, SysUtils, UHTTPServer, Controls;6 Classes, SysUtils, HTTPServer, Controls; 7 7 8 8 type
Note:
See TracChangeset
for help on using the changeset viewer.