Method RequestBody(IEndpoint, object, CancellationToken)

Assembly: redb.Route.dll

Sends a request and waits for the reply body asynchronously.
Uses to signal request/reply semantics.
The exchange ends before this method returns, so a reply that reads from resources of its exchange (a streamed
query result, ) is refused with : read such a
reply through and dispose the exchange afterwards.

Task<object?> RequestBody(IEndpoint endpoint, object body, CancellationToken cancellationToken = default)