source: trip-planner-front/node_modules/engine.io/build/engine.io.d.ts

Last change on this file was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago

primeNG components

  • Property mode set to 100644
File size: 966 bytes
Line 
1import { Server, AttachOptions, ServerOptions } from "./server";
2import transports from "./transports/index";
3import * as parser from "engine.io-parser";
4export { Server, transports, listen, attach, parser };
5export { AttachOptions, ServerOptions } from "./server";
6export { uServer } from "./userver";
7export { Socket } from "./socket";
8export { Transport } from "./transport";
9export declare const protocol = 4;
10/**
11 * Creates an http.Server exclusively used for WS upgrades.
12 *
13 * @param {Number} port
14 * @param {Function} callback
15 * @param {Object} options
16 * @return {Server} websocket.io server
17 * @api public
18 */
19declare function listen(port: any, options: AttachOptions & ServerOptions, fn: any): Server;
20/**
21 * Captures upgrade requests for a http.Server.
22 *
23 * @param {http.Server} server
24 * @param {Object} options
25 * @return {Server} engine server
26 * @api public
27 */
28declare function attach(server: any, options: AttachOptions & ServerOptions): Server;
Note: See TracBrowser for help on using the repository browser.