proactiveContentNegotiation
fun <Range : Any, OptionId : Any> proactiveContentNegotiation(acceptBy: Lens<HttpMessage, PriorityList<Range>?>, reportBy: BiDiLens<HttpMessage, OptionId?>, match: (Range, OptionId) -> Boolean, bindings: List<Pair<OptionId, HttpHandler>>): HttpHandler(source)
A generic implementation of routing by proactive content negotiation. See RFC 9110, Section 12.1