Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

SynWebBroker

WebBroker integration to Synopse mORMot framework using fast HTTP API (http.sys)

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

SynWebBroker

SynWebBroker integrates Delphi's WebBroker technologies into Synopse mORMot framework. Primary developped to use web- / soap-modules within mORMot, it's also possible now to create HTTP API (http.sys) based webservices using the fast http.sys on Windows plattforms instead of the existing webserver interfaces namely CGI or ISAPI or of course the Indy WebBroker Bridge.

To enable WebBroker support in your mORMot based applications simply use an instance of the TSQLWebBrokerServer class instead of TSQLHttpServer.

For the usage of your WebBroker application together with Microsoft's fast HTTP API (http.sys) simply create a TSynHttpApiWebBrokerServer and register your webmodules by a call to AuthorizeWebModules.

Easy integration in a TServiceApplication can be done by inheriting a service from TSQLWebBrokerService and override the function CreateServerInstance. A design time package must be installed to register the new service class at the IDE (see Installation).

Currently tested with Delphi XE3, but should work from Delphi 6 up to Delphi 10.3 Rio

Installation