# Module: vertx-web-js/sock_js_handler

## vertx-web-js/sock_js_handler

Source:
  - sock_js_handler.js, line 3

### Classes

SockJSHandler

### Methods

#### <static> SockJSHandler.create(vertx, options) → {SockJSHandler}

  Create a SockJS handler

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `vertx` | Vertx | the Vert.x instance
  `options` | Object | options to configure the handler

  Source:
    - sock_js_handler.js, line 111

  ##### Returns:

  the handler
  Type
    SockJSHandler

#### <static> SockJSHandler.installTestApplications(router, vertx)

  Install SockJS test applications on a router - used when running the SockJS test suite

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `router` | Router | the router to install on
  `vertx` | Vertx | the Vert.x instance

  Source:
    - sock_js_handler.js, line 127