Skip to content

Record and assert inbound and outbound whispers #7

Description

@luisdalmolin

Problem

Inbound whispers can be injected manually as client-* events, but this is undocumented. Outbound whispers initiated by the page are not observable because the real Pusher connection is disconnected.

Proposed direction

Document inbound whisper injection and record outbound client events at the Pusher channel boundary.

Acceptance criteria

  • A first-class API can emit an inbound whisper without manually prefixing client-.
  • Whispers sent by application code through Echo are recorded while simulated.
  • Tests can inspect and assert channel, whisper name, and payload.
  • Only valid private and presence client events are recorded.
  • Real Echo/Pusher browser coverage exercises both inbound and outbound whispers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions