Method RequestBody<T>(IEndpoint, object, CancellationToken)

Assembly: redb.Route.dll

Sends a request and returns the reply body cast to T.
A nullable T converts to its underlying type; a reply that does not convert throws
.

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