TsgcWSAPIServer_WebAuthn › Methods › DoProcessHTTP
Entry point of the HTTP pipeline; dispatches WebAuthn registration, authentication and authorization requests.
public bool DoProcessHTTP(TsgcWSConnection aConnection, TStringList aHeaders);
| Name | Type | Description |
|---|---|---|
aConnection | const TsgcWSConnection | Active HTTP/WebSocket connection that received the request. |
aHeaders | const TStringList | Raw HTTP request headers (including the request line) forwarded from the host server. |
True when the request matched a WebAuthn endpoint and was fully processed; False when the request is not for WebAuthn and must be handled by the caller. (Boolean)
Normally wired from the host server OnCommandGet/OnCommandPost (or equivalent HTTP API event). The method checks if the request targets a WebAuthn endpoint via IsWebAuthnRequest and, if so, builds the internal request/response objects and dispatches the registration or authentication flow.