# Class: HttpFrame

## vertx-js/http_frame~ HttpFrame

#### new HttpFrame()

An HTTP/2 frame.

Source:
  - vertx-js/http_frame.js, line 30

### Methods

#### flags() → {number}

Source:
  - vertx-js/http_frame.js, line 59

##### Returns:

- the 8-bit flags specific to the frame
- Type
    number

#### payload() → {Buffer}

Source:
  - vertx-js/http_frame.js, line 76

##### Returns:

- the frame payload
- Type
    Buffer

#### type() → {number}

Source:
  - vertx-js/http_frame.js, line 42

##### Returns:

- the 8-bit type of the frame
- Type
    number