Skip to content

Commit

Permalink
marked DetachAsync as not supported in KestrelPipeConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryjiang committed Mar 31, 2024
1 parent 1d47795 commit 322db31
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/SuperSocket.Kestrel/KestrelPipeConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ public KestrelPipeConnection(ConnectionContext context, ConnectionOptions option
RemoteEndPoint = context.RemoteEndPoint;
}

public override ValueTask DetachAsync()
{
throw new NotSupportedException($"Detach is not supported by {nameof(KestrelPipeConnection)}.");
}

protected override async void Close()
{
var context = _context;
Expand Down

0 comments on commit 322db31

Please sign in to comment.