-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename IHttpHeadersHandler to IHttpStreamHeadersHandler (#62750)
Co-authored-by: James Newton-King <[email protected]>
- Loading branch information
1 parent
81ed7cf
commit dfbae37
Showing
13 changed files
with
117 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
src/libraries/Common/src/System/Net/Http/aspnetcore/IHttpHeadersHandler.cs
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
src/libraries/Common/src/System/Net/Http/aspnetcore/IHttpStreamHeadersHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
namespace System.Net.Http | ||
{ | ||
internal interface IHttpStreamHeadersHandler | ||
{ | ||
void OnStaticIndexedHeader(int index); | ||
void OnStaticIndexedHeader(int index, ReadOnlySpan<byte> value); | ||
void OnHeader(ReadOnlySpan<byte> name, ReadOnlySpan<byte> value); | ||
void OnHeadersComplete(bool endStream); | ||
void OnDynamicIndexedHeader(int? index, ReadOnlySpan<byte> name, ReadOnlySpan<byte> value); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.