AbstractStop accepting new work, wait up to closeTimeout milliseconds for
exchanges already in flight, then abort whatever remains. A
transport that owns no resources may leave this as the default no-op.
The drain is only observable through the returned promise, which is
why the JavaScript form returns one; Client.close() does not wait
for it.
OptionalcloseTimeout: numbermilliseconds, >= 0
AbstractroundPerform one exchange.
the caller's cancellation; never null
The HTTP transport SPI: one request in, one response out, and nothing else. This is the type an application, a platform or a test implements to route the SDK's mirror node REST traffic through its own HTTP stack (a corporate proxy, mTLS, tracing, or a platform without
fetch).Install one with
client.setMirrorNodeHttpConfig({ ...client.getMirrorNodeHttpConfig(), transport }). A transport the application injects is owned by the application: the SDK never closes it.An implementation must satisfy the following; everything not listed is free.
HttpResponsecarrying the status; never fail on a status code.HttpTransportErrorcarrying one of the seven codes, so the retry policy knows whether repeating the exchange can help. Any other error is treated as non-retryable.request.deadlineby abandoning the exchange, body included, and failing withtimeout-error.AbortSignalby ending the exchange and failing withcancelled-error, and release the abort listener when the exchange ends so a long-lived signal does not accumulate closures.roundTripis safe to call concurrently, including concurrently withclose.close,roundTripfails fast withclient-closed-error.closeis idempotent, never reports failure, and releases only what the transport itself owns.