withHubProtocol method
Configures the HubConnection to use the specified Hub Protocol.
Implementation
// ignore: avoid_returning_this
HubConnectionBuilder withHubProtocol(HubProtocol protocol) {
_protocol = protocol;
return this;
}
Configures the HubConnection to use the specified Hub Protocol.
// ignore: avoid_returning_this
HubConnectionBuilder withHubProtocol(HubProtocol protocol) {
_protocol = protocol;
return this;
}