BOSON Help

Schemes API Events

Any configured schema can send its own events (and intentions), which allow interaction with requests to specified schemas.

Request Intention

An Boson\WebView\Api\Schemes\Event\SchemeRequestReceived intention processing of user schemes registered in the configuration.

class SchemeRequestReceived<WebView> { public readonly Boson\Http\RequestInterface $request; public ?Boson\Http\ResponseInterface $response = null; }
  • $request - Custom protocol request instance.

  • $response - An optional response instance containing the body string.

13 June 2025