Class: EmbeddedHTTPService

(protected) EmbeddedHTTPService(eventSink)

Base class representing the http service provided by a Container.

Constructor

(protected) new EmbeddedHTTPService(eventSink)

Constructor.

Parameters:
Name Type Description
eventSink EventEmitter

the event emitter

Source:

Methods

(abstract) _post() → {Promise}

Post data

Source:
Throws:

throws an error if there is an issue

Type
Error
Returns:

A Promise that return the JSON text for the HTTP POST. It captures the status code, header and body of the HTTP POST. The body must also be returned as embedded JSON text.

Type
Promise