Uses of Interface jdk.incubator.http.WebSocket.Builder (Java SE 9 & JDK 9 )

## Uses of Interface
jdk.incubator.http.WebSocket.Builder

- Packages that use WebSocket.Builder
  Package | Description
  --- | ---
  jdk.incubator.http | High level HTTP and WebSocket API

- - ### Uses of WebSocket.Builder in jdk.incubator.http

    Methods in jdk.incubator.http that return WebSocket.Builder
    Modifier and Type | Method | Description
    --- | --- | ---
    `WebSocket.Builder` | WebSocket.Builder.`connectTimeout​(Duration timeout)` | Sets a timeout for the opening handshake.
    `WebSocket.Builder` | WebSocket.Builder.`header​(String name, String value)` | Adds the given name-value pair to the list of additional headers for the opening handshake.
    `WebSocket.Builder` | HttpClient.`newWebSocketBuilder​(URI uri, WebSocket.Listener listener)` | Creates a builder of `WebSocket` instances connected to the given URI and receiving events and messages with the given `Listener`.
    `WebSocket.Builder` | WebSocket.Builder.`subprotocols​(String mostPreferred, String... lesserPreferred)` | Includes a request for the given subprotocols during the opening handshake.