Update Claims dependency.
This commit is contained in:
parent
93a88af467
commit
b7fb516aac
|
|
@ -9,7 +9,7 @@
|
|||
"System.Collections": "4.0.10-beta-*",
|
||||
"System.Console": "4.0.0-beta-*",
|
||||
"System.Globalization": "4.0.10-beta-*",
|
||||
"System.IO": "4.0.0-beta-*",
|
||||
"System.IO": "4.0.10-beta-*",
|
||||
"System.Runtime": "4.0.20-beta-*",
|
||||
"System.Threading.Tasks": "4.0.10-beta-*"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ namespace SelfHostServer
|
|||
{
|
||||
if (context.IsWebSocketRequest)
|
||||
{
|
||||
Console.WriteLine("WebSocket");
|
||||
byte[] bytes = Encoding.ASCII.GetBytes("Hello World: " + DateTime.Now);
|
||||
WebSocket webSocket = await context.AcceptWebSocketAsync();
|
||||
await webSocket.SendAsync(new ArraySegment<byte>(bytes, 0, bytes.Length), WebSocketMessageType.Text, true, CancellationToken.None);
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
"System.Runtime.Extensions": "4.0.10-beta-*",
|
||||
"System.Runtime.Handles": "4.0.0-beta-*",
|
||||
"System.Runtime.InteropServices": "4.0.20-beta-*",
|
||||
"System.Security.Claims": "1.0.0-*",
|
||||
"System.Security.Claims": "4.0.0-beta-*",
|
||||
"System.Security.Cryptography.X509Certificates": "4.0.0-beta-*",
|
||||
"System.Security.Principal": "4.0.0-beta-*",
|
||||
"System.Text.Encoding": "4.0.10-beta-*",
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ using System.Collections.Generic;
|
|||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Diagnostics.Contracts;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security.Authentication.ExtendedProtection;
|
||||
using System.Threading;
|
||||
|
|
@ -36,8 +35,6 @@ using Microsoft.Framework.Logging;
|
|||
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
using AppFunc = Func<object, Task>;
|
||||
|
||||
/// <summary>
|
||||
/// An HTTP server wrapping the Http.Sys APIs that accepts requests.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
"System.Runtime.Extensions": "4.0.10-beta-*",
|
||||
"System.Runtime.Handles": "4.0.0-beta-*",
|
||||
"System.Runtime.InteropServices": "4.0.20-beta-*",
|
||||
"System.Security.Claims": "1.0.0-*",
|
||||
"System.Security.Claims": "4.0.0-beta-*",
|
||||
"System.Security.Cryptography.X509Certificates": "4.0.0-beta-*",
|
||||
"System.Security.Principal": "4.0.0-beta-*",
|
||||
"System.Text.Encoding": "4.0.10-beta-*",
|
||||
|
|
|
|||
Loading…
Reference in New Issue