Interface WebSocketConfig.OnEventCallback

Enclosing interface:
WebSocketConfig

@JsFunction public static interface WebSocketConfig.OnEventCallback
TypeScript callback contract for this property.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invokes the OnEventCallback callback.
  • Method Details

    • onInvoke

      void onInvoke(ConnectionEvent message)
      Invokes the OnEventCallback callback.
      Parameters:
      message - Value supplied for the message parameter.