Class: HttpEngine
A class for handling HTTP engine operations.
Implements
Constructors
Constructor
new HttpEngine(
executionEngine,hostProcessor,versionProcessor,hostMatcher,versionMatcher,scopedContainerManager):HttpEngine
Parameters
executionEngine
hostProcessor
versionProcessor
hostMatcher
versionMatcher
scopedContainerManager
Returns
HttpEngine
Methods
execute()
execute(
context,routes):Promise<void>
Executes the HTTP engine with the provided context.
Parameters
context
Pick<HttpContext, "request" | "response" | "session">
The HTTP context for execution.
routes
The routes to map which will be executed.
Returns
Promise<void>