Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Frames

Utility methods to build common Frames. It defines a non-STOMP frame (PING) that is used for heartbeats. When such frame is written on the wire it is just the 0 byte.

This class is thread-safe.

Hierarchy

  • Frames

Index

Properties

Static Readonly PING

PING: Frame

Methods

Static createErrorFrame

  • createErrorFrame(message: string, headers: {}, body: string): Frame
  • Parameters

    • message: string
    • headers: {}
      • [key: string]: string
    • body: string

    Returns Frame

Static createReceiptFrame

  • createReceiptFrame(receiptId: string, headers: {}): Frame
  • Parameters

    • receiptId: string
    • headers: {}
      • [key: string]: string

    Returns Frame

Static handleReceipt

  • Parameters

    Returns void

Static ping

  • Returns Frame

Generated using TypeDoc