Class GrpcTransportOptions

java.lang.Object
io.deephaven.web.client.api.grpc.GrpcTransportOptions

@TsInterface @JsType(namespace="dh.grpc") public class GrpcTransportOptions extends Object
Options for creating a gRPC stream transport instance.
  • Field Details

    • url

      public elemental2.dom.URL url
      The gRPC method URL.
    • debug

      public boolean debug
      True to enable debug logging for this stream.
    • onHeaders

      Callback for when headers and status are received. The headers are a map of header names to values, and the status is the HTTP status code. If the connection could not be made, the status should be 0.
    • onChunk

      Callback for when a chunk of data is received.
    • onEnd

      Callback for when the stream ends, with an error instance if it can be provided. Note that the present implementation does not consume errors, even if provided.
    • originalOptions

      @JsIgnore public TransportOptions originalOptions
      Internal copy of options, to be used for fallback.
  • Constructor Details

    • GrpcTransportOptions

      public GrpcTransportOptions()
  • Method Details