A simple socket interface for sending messages

Hierarchy (view full)

Constructors

Methods

  • Parameters

    • opts: {
          env?: "production" | "development";
          server: Server<typeof IncomingMessage, typeof ServerResponse>;
      }
      • Optional env?: "production" | "development"
      • server: Server<typeof IncomingMessage, typeof ServerResponse>

    Returns Promise<void>

Properties

accessTokenInfo: Record<string, AccessTokenInfo> = {}
authSecrets: AuthSecrets
io: null | Server<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any> = null
logger: null | Logger = null
opts: Required<Omit<DefaultSocketIOAPIOptions, "authEncSecret" | "authSignSecret">>

Generated using TypeDoc