forked from cerc-io/ipld-eth-server
- 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
8 lines
264 B
TypeScript
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;
|