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

##### Returns:

the 8-bit flags specific to the frame

Type
  number

#### payload() → {Buffer}

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

##### Returns:

the frame payload

Type
  Buffer

#### type() → {number}

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

##### Returns:

the 8-bit type of the frame

Type
  number