ListenWebSocketStep | mockttp

The definition of a websocket rule step, which can be passed to Mockttp to define a rule.

Implementation of the step is not included in the definition classes, but instead exists in an *Impl class defined separately and used internally.

Hierarchy (view full)

Implements

Constructors

constructor

Properties

Readonlytype

type: "ws-listen" = 'ws-listen'

Static ReadonlyisFinal

isFinal = true

Methods

dispose

  • dispose(): void
  • Returns void

explain

  • explain(): string
  • Returns string