ipld-eth-server/postgraphile/src/adapters/http.ts
James Christie ed5b6c8f14 Add Postgraphile subscription exposure
- Add automation for TypeScript project build and tests via
  Webpack, tsc, and Jasmine
- Add custom Express application to serve Postgraphile
  subscription endpoints
- Add automated test suite for subscription endpoints
2018-09-04 20:20:43 -05:00

8 lines
264 B
TypeScript

import { IncomingMessage, ServerResponse, Server } from 'http';
export type RequestListenerCallback
= (request: IncomingMessage, response: ServerResponse) => void;
export type CreateHttpServerCallback
= (requestListener?: RequestListenerCallback) => Server;