Documentation
    Preparing search index...

    HTTP Request class exposes the interface to consistently read values related to a given HTTP request. The class is wrapper over IncomingMessage and has extended API.

    You can access the original IncomingMessage using request.request property.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    • Creates a new Request instance wrapping the native Node.js HTTP request

      Parameters

      • request: IncomingMessage

        Native Node.js incoming message instance

      • response: ServerResponse

        Native Node.js server response instance

      • encryption: Encryption

        Encryption module for cookie and URL signing

      • config: RequestConfig

        Request configuration options

      • qsParser: Qs

        Query string parser instance

      Returns Request

    Methods