Implemented interface member:
method
GetProtocol
Microsoft.AspNetCore.SignalR.IHubProtocolResolver.GetProtocol(System.String, System.Collections.Generic.IReadOnlyList<System.String>)
6 references to GetProtocol
Microsoft.AspNetCore.SignalR.Tests (6)
Internal\DefaultHubProtocolResolverTests.cs (6)
26
resolver.
GetProtocol
(protocol.Name, HubProtocolHelpers.AllProtocolNames));
39
resolver.
GetProtocol
(protocol.Name, supportedProtocols));
52
resolver.
GetProtocol
(protocol.Name, supportedProtocols));
60
() => resolver.
GetProtocol
(null, HubProtocolHelpers.AllProtocolNames));
69
Assert.Null(resolver.
GetProtocol
("notARealProtocol", HubProtocolHelpers.AllProtocolNames));
82
var resolvedProtocol = resolver.
GetProtocol
(jsonProtocol2.Name, null);