Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessagingListenerContribution

Hierarchy

  • MessagingListenerContribution

Index

Methods

  • onDidWebSocketUpgrade(request: IncomingMessage, socket: Socket<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>): MaybePromise<void>
  • Function invoked when a HTTP connection is upgraded to a websocket.

    Parameters

    • request: IncomingMessage

      The HTTP connection upgrade request received by the server.

    • socket: Socket<DefaultEventsMap, DefaultEventsMap, DefaultEventsMap, any>

      The WebSocket that the connection was upgraded to.

    Returns MaybePromise<void>