Creates a node transport using for the client options supplied.
connection options
Sends requestBody and returns response chunks in an async iterable
that can be easily consumed in an for-await
loop.
HTTP request path
send options
async iterable
Sends data to the server and receives decoded result. The type of the result depends on response's content-type (deserialized json, text).
HTTP path
send options
Optional
responseStarted: ResponseStartedFnPromise of response body
Sends data to server and receives communication events via communication callbacks.
HTTP request path
message body
Optional
callbacks: Partial<CommunicationObserver<any>>communication callbacks
Transport layer on top of node http or https library.