# Module: vertx-web-client-js/payload_codec

### Classes

PayloadCodec

### Methods

#### (static) PayloadCodec.buffer() → {PayloadCodec}

Source:
  - vertx-web-client-js/payload_codec.js, line 82

##### Returns:

Type
  PayloadCodec

#### (static) PayloadCodec.jsonObject() → {PayloadCodec}

Source:
  - vertx-web-client-js/payload_codec.js, line 95

##### Returns:

Type
  PayloadCodec

#### (static) PayloadCodec.string(enc) → {PayloadCodec}

##### Parameters:

Name | Type | Description
--- | --- | ---
`enc` | string |

Source:
  - vertx-web-client-js/payload_codec.js, line 67

##### Returns:

Type
  PayloadCodec