# 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 49

##### 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 63

##### Returns:

Type
  Object

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

##### Parameters:

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

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

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

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

##### Returns:

Type
  Object