Functions

Static Public Summary
public

RequestListener: function(request: http.IncomingMessage, response: http.ServerResponse): void

A requestListener function that Node's http.createServer or https.createServer would accept.

public

ServerWithShutdown: Server & { shutdown: (callback: (error?: Error) => void) => void }

A net~Server with an added shutdown method.

public

The protocol supported by the instance of the ServerWithShutdown, wrapped by the ManageALocalServer Ability.

Static Public

public RequestListener: function(request: http.IncomingMessage, response: http.ServerResponse): void source

A requestListener function that Node's http.createServer or https.createServer would accept.

public ServerWithShutdown: Server & { shutdown: (callback: (error?: Error) => void) => void } source

A net~Server with an added shutdown method.

public SupportedProtocols: Object source

The protocol supported by the instance of the ServerWithShutdown, wrapped by the ManageALocalServer Ability.

Properties:

NameTypeAttributeDescription
HTTP string
HTTPS string