1 write to Protocol
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HandshakeRequestMessage.cs (1)
18
Protocol
= protocol;
8 references to Protocol
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HandshakeProtocol.cs (1)
65
writer.WriteString(ProtocolPropertyNameBytes, requestMessage.
Protocol
);
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\HandshakeProtocolTests.cs (2)
30
Assert.Equal(protocol, deserializedMessage.
Protocol
);
41
Assert.Equal("json", deserializedMessage.
Protocol
);
Microsoft.AspNetCore.SignalR.Core (5)
HubConnectionContext.cs (5)
543
Protocol = protocolResolver.GetProtocol(handshakeRequestMessage.
Protocol
, supportedProtocols)!;
548
await WriteHandshakeResponseAsync(new HandshakeResponseMessage($"The protocol '{handshakeRequestMessage.
Protocol
}' is not supported."));
554
Log.ProtocolVersionFailed(_logger, handshakeRequestMessage.
Protocol
, handshakeRequestMessage.Version);
556
$"The server does not support version {handshakeRequestMessage.Version} of the '{handshakeRequestMessage.
Protocol
}' protocol."));
592
Log.DisablingReconnect(_logger, handshakeRequestMessage.
Protocol
, handshakeRequestMessage.Version);