Maybe coming some day.
A web framework designed for things to come.
import createServer from 'http';import quinn from 'quinn';import respond from 'quinn/respond';const app = quinnreq => respond body: 'Hello World!' ;createServerapplisten3000;
A potentially async function that takes a request and returns a response.
There are no additional properties or magical extension methods.
undefined, the handler was unable to handle the given request.
E.g. the handler implements routing logic and no route matched the given url.
A pass-through stream describing the response that should be returned. While it might have additional utility functions, only the following properties and methods should be relied on:
response.write(chunk[, encoding][, callback])
response.end([data][, encoding][, callback])
The behavior of each should match
All headers and the status code should be forwarded
when the response is piped to a target.
statusCode by setting the property,
the headers by calls to
setHeader on the target, one header at a time.
Quinn itself only cares that it has a
which is used to forward the data to a
import express from 'express';import quinn from 'quinn/express';import respond from 'quinn/respond';const app = express;appget'/quinn-route' quinnreq => respond body: 'Hello World!' ;
Most of these are based on JSGI. Which would make sense if node wouldn't include an http server.
 In other words: an experimental mess.
 Because buzz word.