Either calls the next agent in chain, or actually loads page document if this agent is the last one.
Accepts an optional Request
parameter. The original request will be used instead when omitted.
Optional
request: RequestHTTP request.
Generated using TypeDoc
Page load agent signature.
The agent can be used to alter loaded page document processing. For that it should be registered in appropriate context.
All registered agents are organized into chain. The first agent in chain is called by page loader.
Returns
An
EventSender
of page load response. It is returned either to preceding agent in chain, or as a loaded document.