organic-httpserver

The organelle wraps core httpServer implementation.

organic-httpserver

The organelle wraps core httpServer implementation.

{
  "log": false,
  "port": Number,
  "emit": {
    "ready": String,
    "request": String
  }
}

Emitted with Chemical type value of dna.emit.ready. Chemical's structure:

{
  "type": `dna.emit.ready`,
  "data": HttpServer
}

Emitted with Chemical type value of dna.emit.request. Chemical's structure:

{
  "type": `dna.emit.request`,
  "req": HttpRequest,
  "res": HttpResponse
}