Module: vertx-web-client-js/web_client

Classes

WebClient

Methods

(static) WebClient.create(vertx, options) → {WebClient}

Create a web client using the provided vertx instance.
Parameters:
Name Type Description
vertx Vertx the vertx instance
options Object the Web Client options
Source:
Returns:
the created web client
Type
WebClient

(static) WebClient.wrap(httpClient, options) → {WebClient}

Wrap an httpClient with a web client and default options.

Only the specific web client portion of the options is used, the HttpClientOptions of the httpClient is reused.

Parameters:
Name Type Description
httpClient HttpClient the to wrap
options Object the Web Client options
Source:
Returns:
the web client
Type
WebClient