supportsOperation method
Indicates whether this ProtocolClientFactory supports a given
operationType
and subprotocol.
Implementation
@override
bool supportsOperation(OperationType operationType, String? subprotocol) {
if (subprotocol != null && !["sse"].contains(subprotocol)) {
return false;
}
return true;
}