Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.03 KB

File metadata and controls

34 lines (23 loc) · 1.03 KB

azure cloud function http server

WIP NOT TESTED YET

Call your http server stack code using an in memory http listener. No sockets needed.

js-standard-style build status downloads Greenkeeper badge

index.js

require('http').createServer((req, res) => {
  if (req.url === '/hello') return res.end('world')
})
.listen(5000)

proxy.js

exports.http = require('azure-cloud-function-http-server')
require('./index.js')

serverless.yml

TODO give example

license

Apache License, Version 2.0