This repository was archived by the owner on Nov 20, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Microsoft.AspNet.Http.Abstractions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) .NET Foundation. All rights reserved.
2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
+ using System . Collections . Generic ;
4
5
using System . Net . WebSockets ;
5
6
using System . Threading . Tasks ;
6
- using Microsoft . Framework . Primitives ;
7
7
8
8
namespace Microsoft . AspNet . Http
9
9
{
10
10
public abstract class WebSocketManager
11
11
{
12
12
public abstract bool IsWebSocketRequest { get ; }
13
13
14
- public abstract StringValues WebSocketRequestedProtocols { get ; }
14
+ public abstract IList < string > WebSocketRequestedProtocols { get ; }
15
15
16
16
public virtual Task < WebSocket > AcceptWebSocketAsync ( )
17
17
{
Original file line number Diff line number Diff line change 2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
4
using System ;
5
+ using System . Collections . Generic ;
5
6
using System . Net . WebSockets ;
6
7
using System . Threading . Tasks ;
7
8
using Microsoft . AspNet . Http . Features ;
8
- using Microsoft . Framework . Primitives ;
9
9
using Microsoft . Net . Http . Headers ;
10
10
11
11
namespace Microsoft . AspNet . Http . Internal
@@ -39,7 +39,7 @@ public override bool IsWebSocketRequest
39
39
}
40
40
}
41
41
42
- public override StringValues WebSocketRequestedProtocols
42
+ public override IList < string > WebSocketRequestedProtocols
43
43
{
44
44
get
45
45
{
You can’t perform that action at this time.
0 commit comments