Package io.deephaven.web.client.api
Class ConnectOptions
java.lang.Object
io.deephaven.web.client.api.ConnectOptions
Addition optional configuration that can be passed to the
CoreClient
constructor.-
Field Summary
FieldsModifier and TypeFieldDescription@jsinterop.annotations.JsNullable boolean
True to enable debug logging.@JsNullable jsinterop.base.JsPropertyMap<String>
Optional map of http header names and values to send to the server with each request.@JsNullable GrpcTransportFactory
The transport factory to use for creating gRPC streams.@JsNullable Boolean
Set this to true to force the use of websockets when connecting to the deephaven instance, false to force the use offetch
. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
headers
Optional map of http header names and values to send to the server with each request. -
debug
public @jsinterop.annotations.JsNullable boolean debugTrue to enable debug logging. At this time, only enables logging for gRPC calls. -
useWebsockets
Set this to true to force the use of websockets when connecting to the deephaven instance, false to force the use offetch
. Ignored iftransportFactory
is set.Defaults to null, indicating that the server URL should be checked to see if we connect with fetch or websockets.
-
transportFactory
The transport factory to use for creating gRPC streams. If specified, the JS API will ignoreuseWebsockets
and its own internal logic for determining the appropriate transport to use.Defaults to null, indicating that the JS API should determine the appropriate transport to use. If
useWebsockets
is set to true, the JS API will use websockets, otherwise if the server url begins with https, it will use fetch, otherwise it will use websockets.
-
-
Constructor Details
-
ConnectOptions
public ConnectOptions() -
ConnectOptions
-