Skip to content

Commit fbd861f

Browse files
committed
Mark kestrel server as obsolete
1 parent 3852c5c commit fbd861f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Servers/Kestrel/Core/src/KestrelServer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4+
using System;
45
using System.Collections.Generic;
56
using System.Threading;
67
using System.Threading.Tasks;
@@ -13,6 +14,7 @@
1314

1415
namespace Microsoft.AspNetCore.Server.Kestrel.Core
1516
{
17+
[Obsolete("This type is obsolete and will be removed in a future version.")]
1618
public class KestrelServer : IServer
1719
{
1820
private KestrelServerImpl _innerKestrelServer;

0 commit comments

Comments
 (0)