Skip to content

JamesKyburz/azure-cloud-function-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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