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 | |
---|
1 | import { Server, AttachOptions, ServerOptions } from "./server";
|
---|
2 | import transports from "./transports/index";
|
---|
3 | import * as parser from "engine.io-parser";
|
---|
4 | export { Server, transports, listen, attach, parser };
|
---|
5 | export { AttachOptions, ServerOptions } from "./server";
|
---|
6 | export { uServer } from "./userver";
|
---|
7 | export { Socket } from "./socket";
|
---|
8 | export { Transport } from "./transport";
|
---|
9 | export 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 | */
|
---|
19 | declare 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 | */
|
---|
28 | declare function attach(server: any, options: AttachOptions & ServerOptions): Server;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.