@@ -8,6 +8,19 @@ public partial class AddressInUseException : System.InvalidOperationException
8
8
public AddressInUseException ( string message ) { }
9
9
public AddressInUseException ( string message , System . Exception inner ) { }
10
10
}
11
+ public abstract partial class BaseConnectionContext : System . IAsyncDisposable
12
+ {
13
+ protected BaseConnectionContext ( ) { }
14
+ public virtual System . Threading . CancellationToken ConnectionClosed { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
15
+ public abstract string ConnectionId { get ; set ; }
16
+ public abstract Microsoft . AspNetCore . Http . Features . IFeatureCollection Features { get ; }
17
+ public abstract System . Collections . Generic . IDictionary < object , object > Items { get ; set ; }
18
+ public virtual System . Net . EndPoint LocalEndPoint { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
19
+ public virtual System . Net . EndPoint RemoteEndPoint { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
20
+ public abstract void Abort ( ) ;
21
+ public abstract void Abort ( Microsoft . AspNetCore . Connections . ConnectionAbortedException abortReason ) ;
22
+ public virtual System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
23
+ }
11
24
public partial class ConnectionAbortedException : System . OperationCanceledException
12
25
{
13
26
public ConnectionAbortedException ( ) { }
@@ -27,19 +40,12 @@ public static partial class ConnectionBuilderExtensions
27
40
public static Microsoft . AspNetCore . Connections . IConnectionBuilder Use ( this Microsoft . AspNetCore . Connections . IConnectionBuilder connectionBuilder , System . Func < Microsoft . AspNetCore . Connections . ConnectionContext , System . Func < System . Threading . Tasks . Task > , System . Threading . Tasks . Task > middleware ) { throw null ; }
28
41
public static Microsoft . AspNetCore . Connections . IConnectionBuilder UseConnectionHandler < TConnectionHandler > ( this Microsoft . AspNetCore . Connections . IConnectionBuilder connectionBuilder ) where TConnectionHandler : Microsoft . AspNetCore . Connections . ConnectionHandler { throw null ; }
29
42
}
30
- public abstract partial class ConnectionContext : System . IAsyncDisposable
43
+ public abstract partial class ConnectionContext : Microsoft . AspNetCore . Connections . BaseConnectionContext , System . IAsyncDisposable
31
44
{
32
45
protected ConnectionContext ( ) { }
33
- public virtual System . Threading . CancellationToken ConnectionClosed { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
34
- public abstract string ConnectionId { get ; set ; }
35
- public abstract Microsoft . AspNetCore . Http . Features . IFeatureCollection Features { get ; }
36
- public abstract System . Collections . Generic . IDictionary < object , object > Items { get ; set ; }
37
- public virtual System . Net . EndPoint LocalEndPoint { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
38
- public virtual System . Net . EndPoint RemoteEndPoint { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
39
46
public abstract System . IO . Pipelines . IDuplexPipe Transport { get ; set ; }
40
- public virtual void Abort ( ) { }
41
- public virtual void Abort ( Microsoft . AspNetCore . Connections . ConnectionAbortedException abortReason ) { }
42
- public virtual System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
47
+ public override void Abort ( ) { }
48
+ public override void Abort ( Microsoft . AspNetCore . Connections . ConnectionAbortedException abortReason ) { }
43
49
}
44
50
public delegate System . Threading . Tasks . Task ConnectionDelegate ( Microsoft . AspNetCore . Connections . ConnectionContext connection ) ;
45
51
public abstract partial class ConnectionHandler
@@ -123,9 +129,40 @@ public partial interface IConnectionListenerFactory
123
129
{
124
130
System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . IConnectionListener > BindAsync ( System . Net . EndPoint endpoint , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
125
131
}
126
- public partial interface IMultiplexedConnectionListenerFactory : Microsoft . AspNetCore . Connections . IConnectionListenerFactory
132
+ public partial interface IMultiplexedConnectionBuilder
133
+ {
134
+ System . IServiceProvider ApplicationServices { get ; }
135
+ Microsoft . AspNetCore . Connections . MultiplexedConnectionDelegate Build ( ) ;
136
+ Microsoft . AspNetCore . Connections . IMultiplexedConnectionBuilder Use ( System . Func < Microsoft . AspNetCore . Connections . MultiplexedConnectionDelegate , Microsoft . AspNetCore . Connections . MultiplexedConnectionDelegate > middleware ) ;
137
+ }
138
+ public partial interface IMultiplexedConnectionFactory
127
139
{
140
+ System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . MultiplexedConnectionContext > ConnectAsync ( System . Net . EndPoint endpoint , Microsoft . AspNetCore . Http . Features . IFeatureCollection features = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
128
141
}
142
+ public partial interface IMultiplexedConnectionListener : System . IAsyncDisposable
143
+ {
144
+ System . Net . EndPoint EndPoint { get ; }
145
+ System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . MultiplexedConnectionContext > AcceptAsync ( Microsoft . AspNetCore . Http . Features . IFeatureCollection features = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
146
+ System . Threading . Tasks . ValueTask UnbindAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
147
+ }
148
+ public partial interface IMultiplexedConnectionListenerFactory
149
+ {
150
+ System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . IMultiplexedConnectionListener > BindAsync ( System . Net . EndPoint endpoint , Microsoft . AspNetCore . Http . Features . IFeatureCollection features = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
151
+ }
152
+ public partial class MultiplexedConnectionBuilder : Microsoft . AspNetCore . Connections . IMultiplexedConnectionBuilder
153
+ {
154
+ public MultiplexedConnectionBuilder ( System . IServiceProvider applicationServices ) { }
155
+ public System . IServiceProvider ApplicationServices { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
156
+ public Microsoft . AspNetCore . Connections . MultiplexedConnectionDelegate Build ( ) { throw null ; }
157
+ public Microsoft . AspNetCore . Connections . IMultiplexedConnectionBuilder Use ( System . Func < Microsoft . AspNetCore . Connections . MultiplexedConnectionDelegate , Microsoft . AspNetCore . Connections . MultiplexedConnectionDelegate > middleware ) { throw null ; }
158
+ }
159
+ public abstract partial class MultiplexedConnectionContext : Microsoft . AspNetCore . Connections . BaseConnectionContext , System . IAsyncDisposable
160
+ {
161
+ protected MultiplexedConnectionContext ( ) { }
162
+ public abstract System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . ConnectionContext > AcceptAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
163
+ public abstract System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . ConnectionContext > ConnectAsync ( Microsoft . AspNetCore . Http . Features . IFeatureCollection features = null , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
164
+ }
165
+ public delegate System . Threading . Tasks . Task MultiplexedConnectionDelegate ( Microsoft . AspNetCore . Connections . MultiplexedConnectionContext connection ) ;
129
166
[ System . FlagsAttribute ]
130
167
public enum TransferFormat
131
168
{
@@ -139,14 +176,6 @@ public UriEndPoint(System.Uri uri) { }
139
176
public override string ToString ( ) { throw null ; }
140
177
}
141
178
}
142
- namespace Microsoft . AspNetCore . Connections . Abstractions . Features
143
- {
144
- public partial interface IQuicCreateStreamFeature
145
- {
146
- System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . ConnectionContext > StartBidirectionalStreamAsync ( ) ;
147
- System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . ConnectionContext > StartUnidirectionalStreamAsync ( ) ;
148
- }
149
- }
150
179
namespace Microsoft . AspNetCore . Connections . Features
151
180
{
152
181
public partial interface IConnectionCompleteFeature
@@ -196,15 +225,18 @@ public partial interface IMemoryPoolFeature
196
225
{
197
226
System . Buffers . MemoryPool < byte > MemoryPool { get ; }
198
227
}
199
- public partial interface IQuicStreamFeature
228
+ public partial interface IProtocolErrorCodeFeature
229
+ {
230
+ long Error { get ; set ; }
231
+ }
232
+ public partial interface IStreamDirectionFeature
200
233
{
201
234
bool CanRead { get ; }
202
235
bool CanWrite { get ; }
203
- long StreamId { get ; }
204
236
}
205
- public partial interface IQuicStreamListenerFeature
237
+ public partial interface IStreamIdFeature
206
238
{
207
- System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . ConnectionContext > AcceptAsync ( ) ;
239
+ long StreamId { get ; }
208
240
}
209
241
public partial interface ITlsHandshakeFeature
210
242
{
0 commit comments