摘要:mormot2框架中有个THttpServer类,它有一个Router属性,定义如下: property Router: TUriRouter read fRoute; Router是添加路由的入口点,它有和http协议对应的get, post, put, delete等方法,这些方法可以添加路由,
阅读全文
posted @ 2023-08-17 10:23
|
|||
合集-mormot2
摘要:mormot2框架中有个THttpServer类,它有一个Router属性,定义如下: property Router: TUriRouter read fRoute; Router是添加路由的入口点,它有和http协议对应的get, post, put, delete等方法,这些方法可以添加路由,
阅读全文
posted @ 2023-08-17 10:23
摘要:TFileServiceFunction = record strict private type TFunctionNameRec = record const LoadFile = 'LoadFile'; SaveFile = 'SaveFile'; GetAllFileNames = 'Get
阅读全文
posted @ 2023-08-22 14:34
摘要:unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V
阅读全文
posted @ 2023-08-15 16:20
摘要:TOL = class(TObject) public procedure W(W: TJsonWriter; Instance: TObject; Options: TTextWriterWriteObjectOptions); end; TPerson = class private FName
阅读全文
posted @ 2023-08-25 14:06
摘要:procedure TForm1.Button1Click(Sender: TObject); var v: variant; begin { [ODBC] DRIVER=SQL Server 会报错 DRIVER=ODBC Driver 18 for SQL Server 没问题 } dbProp
阅读全文
posted @ 2024-01-07 00:04
|
|||