Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

eventTsmHTTPSv3.OnRequest

property OnRequest: tHttpRequestEvent read GetOnRequest write SetOnRequest;
Called for a request no route matched; routes added with AddHandler, AddEvent, AddFile or AddFiles take precedence, and with neither the request gets 404. The same handler can serve the TCP components too (aRequest.NegotiatedProtocol is h3 here). Runs on a connection worker of Server and holds it until it returns.