setStreamHandlerMatch method
SetStreamHandlerMatch sets the protocol handler on the Host's Mux using a matching function for protocol selection.
Implementation
@override
void setStreamHandlerMatch(ProtocolID pid, bool Function(ProtocolID) match, StreamHandler handler) {
_host.setStreamHandlerMatch(pid, match, handler);
}