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.

TsgcWSServer_HTTPAPI_WebBrokerBridge

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.

Component class

TsgcWSServer_HTTPAPI_WebBrokerBridge

Platforms

Windows (HTTP.SYS)

Edition

Enterprise

Mount your WebBroker module, listen

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;

What's inside

Pairs the kernel-mode HTTP server with the eSeGeCe WebSocket / HTTP/2 dispatch — ideal for production WebBroker / DataSnap deployments on Windows.

Kernel-mode TLS

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/2 + WebSocket

HTTP.SYS supports HTTP/2 since Windows 10 / Server 2016 and WebSocket since Windows 8. Both protocols share the same registered URL prefix.

WebBroker bridge

Wraps Embarcadero's standard IdHTTPWebBrokerBridge contract so your existing TWebModule handlers (DataSnap REST, RAD Server endpoints, custom routes) run unchanged.

URL ACLs

Reserve URL prefixes via netsh http add urlaclRegisterURL uses the reserved namespace so the service can run as an unprivileged user.

Performance

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

WebSocket upgrades work alongside DataSnap / WebBroker REST — same port, same URL prefix, dispatch decided per request.

Specifications & references

Authoritative sources for the platform this component targets.

Documentation & Demos

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.
Demo Project — Demos\40.DataSnap\Server_HTTPAPI Ready-to-run example project. Ships inside the sgcWebSockets package — download the trial below.
Technical Document (PDF) Features, quick start, code samples for Delphi & C++ Builder and primary-source references — this component only.
User Manual (PDF) Comprehensive manual covering every component in the library.

Ready to Run DataSnap on HTTP.SYS?

Download the free trial and host your DataSnap server on the Windows kernel HTTP driver.