Node-Red configuration
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

engine.io.d.ts 983B

12345678910111213141516171819202122232425262728
  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 type { AttachOptions, ServerOptions, BaseServer } 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;