realm-object-server
Version:
7 lines (6 loc) • 389 B
TypeScript
/// <reference types="node" />
import * as http from "http";
export declare function stringifyRequest(req: any): string;
export declare function stringifyResponse(res: http.ServerResponse, requestUrl: string, result: any): string;
export declare function makeResponseHeaderServer(version: string): string;
export declare function makeResponse(statusCode: number, headers: object): string;