1 write to HandshakeResponseMessage
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
TestClient.cs (1)
85
HandshakeResponseMessage
= (HandshakeResponseMessage)await ReadAsync(true).DefaultTimeout();
12 references to HandshakeResponseMessage
Microsoft.AspNetCore.SignalR.Tests (12)
HubConnectionHandlerTests.cs (12)
184
Assert.Null(client.
HandshakeResponseMessage
);
207
Assert.NotNull(client.
HandshakeResponseMessage
);
208
Assert.Equal("Handshake was canceled.", client.
HandshakeResponseMessage
.Error);
263
Assert.NotNull(client.
HandshakeResponseMessage
);
264
Assert.Equal("The protocol 'CustomProtocol' is not supported.", client.
HandshakeResponseMessage
.Error);
289
Assert.NotNull(client.
HandshakeResponseMessage
);
290
Assert.Equal("Cannot use the 'messagepack' protocol on the current transport. The transport does not support 'Binary' transfer format.", client.
HandshakeResponseMessage
.Error);
466
Assert.NotNull(client.
HandshakeResponseMessage
);
467
Assert.Null(client.
HandshakeResponseMessage
.Error);
648
Assert.NotNull(client.
HandshakeResponseMessage
);
649
Assert.Equal("The server does not support version 9001 of the 'json' protocol.", client.
HandshakeResponseMessage
.Error);
3905
Assert.NotNull(client.
HandshakeResponseMessage
);