HTTP.SYS WebBroker Bridge
Mount your DataSnap / WebBroker / RAD Server modules on the Windows HTTP.SYS kernel driver. Kernel-mode TLS, HTTP/2 and WebSocket on a single port.
Mount your DataSnap / WebBroker / RAD Server modules on the Windows HTTP.SYS kernel driver. Kernel-mode TLS, HTTP/2 and WebSocket on a single port.
Bridges your existing TWebModule / DataSnap stack onto Microsoft's HTTP.SYS server API — kernel-mode HTTP/2, kernel-mode TLS, and the same TsgcWebSocket connect path you already know.
TsgcWSServer_HTTPAPI_WebBrokerBridge
Windows (HTTP.SYS)
Enterprise
Set RegisterURL to the URL prefix you reserved with netsh, attach a WebBroker WebModuleClass, then Active := True — HTTP.SYS routes requests to your modules.
uses
sgcWebSocket, sgcWebSocketServer_HTTPAPI_WebBrokerBridge,
WebReq, IdHTTPWebBrokerBridge, WebModuleUnit1;
var
Server: TsgcWSServer_HTTPAPI_WebBrokerBridge;
begin
if WebRequestHandler <> nil then
WebRequestHandler.WebModuleClass := WebModuleClass;
Server := TsgcWSServer_HTTPAPI_WebBrokerBridge.Create(nil);
Server.RegisterURL := 'http://+:8080/';
Server.Active := True;
end;
Pairs the kernel-mode HTTP server with the eSeGeCe WebSocket / HTTP/2 dispatch — ideal for production WebBroker / DataSnap deployments on Windows.
HTTP.SYS terminates TLS in the kernel, which means certificates live in the LocalMachine store and the user-mode service does not handle private keys directly.
HTTP.SYS supports HTTP/2 since Windows 10 / Server 2016 and WebSocket since Windows 8. Both protocols share the same registered URL prefix.
Wraps Embarcadero's standard IdHTTPWebBrokerBridge contract so your existing TWebModule handlers (DataSnap REST, RAD Server endpoints, custom routes) run unchanged.
Reserve URL prefixes via netsh http add urlacl — RegisterURL uses the reserved namespace so the service can run as an unprivileged user.
Inbound HTTP/2 frames are decoded inside HTTP.SYS — the user-mode server only sees parsed requests, freeing CPU compared to a fully user-mode listener.
WebSocket upgrades work alongside DataSnap / WebBroker REST — same port, same URL prefix, dispatch decided per request.
Authoritative sources for the platform this component targets.
Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.
| Online Help — TsgcWSServer_HTTPAPI_WebBrokerBridge Full property, method and event reference for this component. | Open | |
| Demo Project — Demos\40.DataSnap\Server_HTTPAPI Ready-to-run example project. Ships inside the sgcWebSockets package — download the trial below. | Open | |
| Technical Document (PDF) Features, quick start, code samples for Delphi & C++ Builder and primary-source references — this component only. | Open | |
| User Manual (PDF) Comprehensive manual covering every component in the library. | Open |