# Class: Form

## vertx-web-client-js/form~ Form

#### new Form()

Source:
  - vertx-web-client-js/form.js, line 31

### Methods

#### addAll(map) → {Form}

Adds all the entries from another MultiMap to this one

##### Parameters:

Name | Type | Description
--- | --- | ---
`map` | MultiMap |

Source:
  - vertx-web-client-js/form.js, line 74

##### Returns:

a reference to this, so the API can be used fluently

Type
  Form

#### addAttr(name, value) → {Form}

Adds a new value with the specified name and value.

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | string | The name
`value` | string | The value being added

Source:
  - vertx-web-client-js/form.js, line 44

##### Returns:

a reference to this, so the API can be used fluently

Type
  Form

#### addFile(name, file) → {Form}

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | string |
`file` | ReadStream |

Source:
  - vertx-web-client-js/form.js, line 59

##### Returns:

Type
  Form

#### bilto() → {ReadStream}

Source:
  - vertx-web-client-js/form.js, line 121

##### Returns:

Type
  ReadStream

#### set(name, value) → {Form}

Sets a value under the specified name.

If there is an existing header with the same name, it is removed.

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | string | The name
`value` | string | The value

Source:
  - vertx-web-client-js/form.js, line 92

##### Returns:

a reference to this, so the API can be used fluently

Type
  Form

#### setAll(map) → {Form}

Cleans this instance.

##### Parameters:

Name | Type | Description
--- | --- | ---
`map` | MultiMap |

Source:
  - vertx-web-client-js/form.js, line 107

##### Returns:

a reference to this, so the API can be used fluently

Type
  Form