Methods
(protected, static) _clientFor(optionsnon-null) → {Client}
Creates a new instance of `Client` implementation in accordance with given options.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions |
- Source:
Returns:
- Type
- Client
(protected, static) _createHttpClient(optionsnon-null) → {HttpClient}
Creates an HTTP client basing on the passed ClientOptions.
In case a custom HTTP client is specified via the `options`, this instance is returned.
Otherwise, a new instance of `HttpClient` is returned.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions | client initialization options |
- Source:
Returns:
an instance of HTTP client
- Type
- HttpClient
(protected, static) _createHttpResponseHandler(optionsnon-null) → {HttpResponseHandler}
Creates an HTTP response handler judging on the passed ClientOptions.
In case a custom HTTP response handler is specified via the `options`,
this instance is returned. Otherwise, a new instance of `HttpResponseHandler` is returned.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions | client initialization options |
- Source:
Returns:
an instance of HTTP response handler
- Type
- HttpResponseHandler
(protected, static) _ensureOptionsSufficient(optionsnon-null)
Ensures whether options object is sufficient for client initialization.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions |
- Source:
(static) createClient(optionsnon-null) → {Client}
Creates a new instance of `Client` implementation in accordance with given options.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions | client initialization options |
- Source:
Returns:
a `Client` instance
- Type
- Client
(static) createCommanding(optionsnon-null) → {CommandingClient}
Creates a new instance of `CommandingClient` implementation in accordance with given options.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions | client initialization options |
- Source:
Returns:
a `CommandingClient` instance
- Type
- CommandingClient
(static) createQuerying(optionsnon-null) → {QueryingClient}
Creates a new instance of `QueryingClient` implementation in accordance with given options.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions | client initialization options |
- Source:
Returns:
a `QueryingClient` instance
- Type
- QueryingClient
(static) createSubscribing(optionsnon-null) → {SubscribingClient}
Creates a new instance of `SubscribingClient` implementation in accordance with given options.
Parameters:
Name | Type | Description |
---|---|---|
options |
ClientOptions | client initialization options |
- Source:
Returns:
a `SubscribingClient` instance
- Type
- SubscribingClient