Options
All
  • Public
  • Public/Protected
  • All
Menu

Application unit that starts the HTTP/S server, creates Request and Response objects for it, and handles those requests using the HTTPKernel.

Hierarchy

Index

Constructors

constructor

Properties

Protected Readonly bus

Protected Readonly config

config: Config

Protected Readonly kernel

kernel: HTTPKernel

Protected Readonly logging

logging: Logging

Protected Readonly routing

routing: Routing

Protected Optional server

server: Server

The underlying native Node.js server.

status

status: UnitStatus = ...

The current status of the unit.

Accessors

Private appClassApplication

handler

  • get handler(): RequestListener

Methods

Protected app

Protected container

down

  • down(): Promise<void>

getBoundMethod

  • getBoundMethod(methodName: string): (...args: any[]) => any
  • Get the method with the given name from this class, bound to this class.

    Parameters

    • methodName: string

    Returns (...args: any[]) => any

    function

      • (...args: any[]): any
      • Parameters

        • Rest ...args: any[]

        Returns any

Protected make

  • make<T>(target: any, ...parameters: any[]): T
  • Call the make() method on the global container.

    Type parameters

    • T

    Parameters

    • target: any
    • Rest ...parameters: any[]

    Returns T

up

  • up(): Promise<void>
Extollo Logo

extollo (v. latin) - to lift up, to elevate

Extollo is a free & libre application framework in TypeScript.