# Module: vertx-stomp-js/frames

## vertx-stomp-js/frames

Source:
  - frames.js, line 3

### Classes

Frames

### Methods

#### <static> Frames.createErrorFrame(message, headers, body) → {Object}

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `message` | string |
  `headers` | Array.<string> |
  `body` | string |

  Source:
    - frames.js, line 49

  ##### Returns:

  Type
    Object

#### <static> Frames.createReceiptFrame(receiptId, headers) → {Object}

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `receiptId` | string |
  `headers` | Array.<string> |

  Source:
    - frames.js, line 63

  ##### Returns:

  Type
    Object

#### <static> Frames.handleReceipt(frame, connection)

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `frame` | Object |
  `connection` | StompServerConnection |

  Source:
    - frames.js, line 76

#### <static> Frames.ping() → {Object}

  Source:
    - frames.js, line 89

  ##### Returns:

  Type
    Object