WebSocketAnnotation constructor

const WebSocketAnnotation(
  1. String name, {
  2. required WebSocketMode mode,
  3. required String? path,
  4. required Duration? ping,
  5. required bool triggerOnConnect,
})

Implementation

const WebSocketAnnotation(
  super.name, {
  required this.mode,
  required super.path,
  required this.ping,
  required this.triggerOnConnect,
});