This repository was archived by the owner on Nov 20, 2018. It is now read-only.
File tree 4 files changed +5
-412
lines changed
Microsoft.AspNetCore.Http/Internal
Microsoft.AspNetCore.Http.Abstractions/Internal
4 files changed +5
-412
lines changed Original file line number Diff line number Diff line change 6
6
7
7
namespace Microsoft . AspNetCore . Http . Internal
8
8
{
9
- internal struct HeaderSegment : IEquatable < HeaderSegment >
9
+ public struct HeaderSegment : IEquatable < HeaderSegment >
10
10
{
11
11
private readonly StringSegment _formatting ;
12
12
private readonly StringSegment _data ;
13
13
14
14
// <summary>
15
- // Initializes a new instance of the <see cref="HeaderSegment/> structure.
15
+ // Initializes a new instance of the <see cref="HeaderSegment" /> structure.
16
16
// </summary>
17
17
public HeaderSegment ( StringSegment formatting , StringSegment data )
18
18
{
Original file line number Diff line number Diff line change 8
8
9
9
namespace Microsoft . AspNetCore . Http . Internal
10
10
{
11
- internal struct HeaderSegmentCollection : IEnumerable < HeaderSegment > , IEquatable < HeaderSegmentCollection >
11
+ public struct HeaderSegmentCollection : IEnumerable < HeaderSegment > , IEquatable < HeaderSegmentCollection >
12
12
{
13
13
private readonly StringValues _headers ;
14
14
@@ -62,7 +62,7 @@ IEnumerator IEnumerable.GetEnumerator()
62
62
return GetEnumerator ( ) ;
63
63
}
64
64
65
- internal struct Enumerator : IEnumerator < HeaderSegment >
65
+ public struct Enumerator : IEnumerator < HeaderSegment >
66
66
{
67
67
private readonly StringValues _headers ;
68
68
private int _index ;
Original file line number Diff line number Diff line change 8
8
9
9
namespace Microsoft . AspNetCore . Http . Internal
10
10
{
11
- internal static class ParsingHelpers
11
+ public static class ParsingHelpers
12
12
{
13
13
public static StringValues GetHeader ( IHeaderDictionary headers , string key )
14
14
{
You can’t perform that action at this time.
0 commit comments