# Module: vertx-web-js/virtual_host_handler

## vertx-web-js/virtual_host_handler

Source:
  - virtual_host_handler.js, line 3

### Classes

VirtualHostHandler

### Methods

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

  Create a handler

  ##### Parameters:

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

  Source:
    - virtual_host_handler.js, line 61

  ##### Returns:

  the handler
  Type
    VirtualHostHandler