# Module: vertx-web-js/virtual_host_handler

### Classes

VirtualHostHandler

### Methods

#### (static) VirtualHostHandler.create(hostname, handler) → {VirtualHostHandler}

Create a handler

##### Parameters:

Name | Type | Description
--- | --- | ---
`hostname` | string |
`handler` | function |

Source:
  - vertx-web-js/virtual_host_handler.js, line 80

##### Returns:

the handler

Type
  VirtualHostHandler