subscriberOf

inline fun <T> AdapterCodec.subscriberOf(hints: BodyAdapter.Hints = Hints.empty()): <Error class: unknown class><T>

Returns a BodySubscriber for the given type and Hints.

Throws

if no decoder that supports the given type or the given hints' media type is found