# Class: WebSocketStream

## vertx-js/web_socket_stream~ WebSocketStream

#### new WebSocketStream()

Source:
  - vertx-js/web_socket_stream.js, line 30

### Methods

#### endHandler(endHandler) → {WebSocketStream}

##### Parameters:

Name | Type | Description
--- | --- | ---
`endHandler` | function |

Source:
  - vertx-js/web_socket_stream.js, line 102

##### Returns:

Type
  WebSocketStream

#### exceptionHandler(handler) → {WebSocketStream}

##### Parameters:

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

Source:
  - vertx-js/web_socket_stream.js, line 42

##### Returns:

Type
  WebSocketStream

#### handler(handler) → {WebSocketStream}

##### Parameters:

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

Source:
  - vertx-js/web_socket_stream.js, line 58

##### Returns:

Type
  WebSocketStream

#### pause() → {WebSocketStream}

Source:
  - vertx-js/web_socket_stream.js, line 74

##### Returns:

Type
  WebSocketStream

#### resume() → {WebSocketStream}

Source:
  - vertx-js/web_socket_stream.js, line 88

##### Returns:

Type
  WebSocketStream