• Preparing search index...
  • The search index is not available
session-service
  • session-service
  • infrastructure/adapters/websocket/commands/connection/connection
  • acceptConnectionCommand

Function acceptConnectionCommand

  • acceptConnectionCommand(io, sessionService, profileServiceUtils, authServiceUtils): void
  • Accept connection command. After the client successfully creates a connection, it enables the client to further:

    1. send the access token
    2. disconnect

    Parameters

    • io: Server<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>

      Socket IO Server

    • sessionService: ISessionService

      Session Service

    • profileServiceUtils: IProfileServiceUtils
    • authServiceUtils: IAuthServiceUtils

    Returns void

    • Defined in infrastructure/adapters/websocket/commands/connection/connection.ts:15

Settings

Member Visibility
session-service
  • Loading...

Generated using TypeDoc