import { BindingKey } from '@loopback/core'; import { RequestListener } from '@loopback/http-server'; import { Server, Socket } from 'socket.io'; import { SocketIoServer, SocketIoServerOptions } from './socketio.server'; import { SocketIoInvokeMethod, SocketIoRejectMethod, SocketIoSendMethod, SocketIoSequence } from './types'; export declare namespace SocketIoBindings { const CONFIG: BindingKey; const IO: BindingKey>; const REQUEST_LISTENER: BindingKey; /** * Binding key for the server itself */ const SERVER: BindingKey; const SOCKET: BindingKey>; const MESSAGE: BindingKey; const SEQUENCE: BindingKey; const INVOKE_METHOD: BindingKey; const SEND_METHOD: BindingKey; const REJECT_METHOD: BindingKey; /** * Binding key for setting and injecting the host name of Http Server */ const HOST: BindingKey; /** * Binding key for setting and injecting the port number of Http Server */ const PORT: BindingKey; const CONTROLLERS_NAMESPACE = "socketio.controllers"; } export declare namespace SocketIoTags { const SOCKET_IO = "socketio"; }