# Module: vertx-stomp-js/frames

### Classes

Frames

### Methods

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

##### Parameters:

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

Source:
  - vertx-stomp-js/frames.js, line 68

##### Returns:

Type
  Object

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

##### Parameters:

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

Source:
  - vertx-stomp-js/frames.js, line 82

##### Returns:

Type
  Object

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

##### Parameters:

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

Source:
  - vertx-stomp-js/frames.js, line 95

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

Source:
  - vertx-stomp-js/frames.js, line 108

##### Returns:

Type
  Object