Documentation
    Preparing search index...

    Http context encapsulates properties for a given HTTP request. The context class can be extended using macros and getters.

    Hierarchy

    • default
      • HttpContext
    Index

    Constructors

    Properties

    Constructors

    • Creates a new HttpContext instance

      Parameters

      • request: Request

        The HTTP request instance

      • response: Response

        The HTTP response instance

      • logger: Logger

        The logger instance

      • containerResolver: ContainerResolver<any>

        The IoC container resolver

      Returns HttpContext

    Properties

    view: EdgeRenderer

    Reference to the edge renderer to render templates during an HTTP request