1.0.3 • Published 6 years ago

@kumori/http-message-proxy v1.0.3

Weekly downloads
51
License
MIT
Repository
github
Last release
6 years ago

semantic-release

Http Message

Http proxy for Kumori Platform components.

Description

This module proxifies a legacy http server connections through Kumori's channels (see Kumori's documentation for more information about channels and Kumori's service application model).

Table of Contents

Installation

Install it as a npm package

npm install -g @kumori/http-proxy

Usage

const http = require('@kumori/http-message')
const httpProxy = require('@kumori/http-proxy')
let server = http.createServer()
let host = 'localhost'
let port = 8080
proxy = httpProxy server, host, port
server.listen(channel, (error) => {
    // Do something
})

License

MIT © Kumori Systems