HTTP

Server.Interfaces. HTTP

# new HTTP(coreObj) → {Server.Interfaces.HTTP}

This is the HTTP Interface of the Blackrock Application Server. It is responsible for providing an interface to other clients and servers via the HTTP and HTTPS protocols.

Parameters:
Name Type Description
coreObj Server.Modules.Core

The Core Module Singleton

Author:
  • Darren Smith
License:
  • Licensed under the LGPL license.
To Do:
  • Allow view templating engine to be configured from within config file (mustache, handlebars and hogan)
  • Replace formidable with a proprietary solution
  • Replace Cheerio functionality with Utilities Module Transform Library (proprietary)
  • Remove/fix the quickDelete function
Returns:

interface - The HTTP Interface Singleton

Type
Server.Interfaces.HTTP
Example
const httpInterfaceSingleton = core.module('http', 'interface');

Extends

Classes

Client
Hook