@@ -30,12 +30,16 @@ public static partial class ConnectionBuilderExtensions
30
30
public abstract partial class ConnectionContext
31
31
{
32
32
protected ConnectionContext ( ) { }
33
+ public virtual System . Threading . CancellationToken ConnectionClosed { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
33
34
public abstract string ConnectionId { get ; set ; }
34
35
public abstract Microsoft . AspNetCore . Http . Features . IFeatureCollection Features { get ; }
35
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 { } }
36
39
public abstract System . IO . Pipelines . IDuplexPipe Transport { get ; set ; }
37
40
public virtual void Abort ( ) { }
38
41
public virtual void Abort ( Microsoft . AspNetCore . Connections . ConnectionAbortedException abortReason ) { }
42
+ public virtual System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
39
43
}
40
44
public delegate System . Threading . Tasks . Task ConnectionDelegate ( Microsoft . AspNetCore . Connections . ConnectionContext connection ) ;
41
45
public abstract partial class ConnectionHandler
@@ -70,40 +74,97 @@ public partial class ConnectionResetException : System.IO.IOException
70
74
public ConnectionResetException ( string message ) { }
71
75
public ConnectionResetException ( string message , System . Exception inner ) { }
72
76
}
73
- public partial class DefaultConnectionContext : Microsoft . AspNetCore . Connections . ConnectionContext , Microsoft . AspNetCore . Connections . Features . IConnectionIdFeature , Microsoft . AspNetCore . Connections . Features . IConnectionItemsFeature , Microsoft . AspNetCore . Connections . Features . IConnectionLifetimeFeature , Microsoft . AspNetCore . Connections . Features . IConnectionTransportFeature , Microsoft . AspNetCore . Connections . Features . IConnectionUserFeature , System . IDisposable
77
+ public partial class DefaultConnectionContext : Microsoft . AspNetCore . Connections . ConnectionContext , Microsoft . AspNetCore . Connections . Features . IConnectionEndPointFeature , Microsoft . AspNetCore . Connections . Features . IConnectionIdFeature , Microsoft . AspNetCore . Connections . Features . IConnectionItemsFeature , Microsoft . AspNetCore . Connections . Features . IConnectionLifetimeFeature , Microsoft . AspNetCore . Connections . Features . IConnectionTransportFeature , Microsoft . AspNetCore . Connections . Features . IConnectionUserFeature , System . IDisposable
74
78
{
75
79
public DefaultConnectionContext ( ) { }
76
80
public DefaultConnectionContext ( string id ) { }
77
81
public DefaultConnectionContext ( string id , System . IO . Pipelines . IDuplexPipe transport , System . IO . Pipelines . IDuplexPipe application ) { }
78
82
public System . IO . Pipelines . IDuplexPipe Application { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
79
- public System . Threading . CancellationToken ConnectionClosed { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
83
+ public override System . Threading . CancellationToken ConnectionClosed { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
80
84
public override string ConnectionId { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
81
85
public override Microsoft . AspNetCore . Http . Features . IFeatureCollection Features { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
82
86
public override System . Collections . Generic . IDictionary < object , object > Items { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
87
+ public override System . Net . EndPoint LocalEndPoint { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
88
+ public override System . Net . EndPoint RemoteEndPoint { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
83
89
public override System . IO . Pipelines . IDuplexPipe Transport { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
84
90
public System . Security . Claims . ClaimsPrincipal User { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
85
91
public override void Abort ( Microsoft . AspNetCore . Connections . ConnectionAbortedException abortReason ) { }
86
92
public void Dispose ( ) { }
93
+ public override System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
94
+ }
95
+ public partial class FileHandleEndPoint : System . Net . EndPoint
96
+ {
97
+ public FileHandleEndPoint ( ulong fileHandle , Microsoft . AspNetCore . Connections . FileHandleType fileHandleType ) { }
98
+ public ulong FileHandle { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
99
+ public Microsoft . AspNetCore . Connections . FileHandleType FileHandleType { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
100
+ }
101
+ public enum FileHandleType
102
+ {
103
+ Auto = 0 ,
104
+ Tcp = 1 ,
105
+ Pipe = 2 ,
87
106
}
88
107
public partial interface IConnectionBuilder
89
108
{
90
109
System . IServiceProvider ApplicationServices { get ; }
91
110
Microsoft . AspNetCore . Connections . ConnectionDelegate Build ( ) ;
92
111
Microsoft . AspNetCore . Connections . IConnectionBuilder Use ( System . Func < Microsoft . AspNetCore . Connections . ConnectionDelegate , Microsoft . AspNetCore . Connections . ConnectionDelegate > middleware ) ;
93
112
}
113
+ public partial interface IConnectionListener
114
+ {
115
+ System . Net . EndPoint EndPoint { get ; }
116
+ System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . ConnectionContext > AcceptAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
117
+ System . Threading . Tasks . ValueTask DisposeAsync ( ) ;
118
+ System . Threading . Tasks . ValueTask UnbindAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
119
+ }
120
+ public partial interface IConnectionListenerFactory
121
+ {
122
+ System . Threading . Tasks . ValueTask < Microsoft . AspNetCore . Connections . IConnectionListener > BindAsync ( System . Net . EndPoint endpoint , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
123
+ }
94
124
[ System . FlagsAttribute ]
95
125
public enum TransferFormat
96
126
{
97
127
Binary = 1 ,
98
128
Text = 2 ,
99
129
}
130
+ public abstract partial class TransportConnection : Microsoft . AspNetCore . Connections . ConnectionContext , Microsoft . AspNetCore . Connections . Features . IConnectionIdFeature , Microsoft . AspNetCore . Connections . Features . IConnectionItemsFeature , Microsoft . AspNetCore . Connections . Features . IConnectionLifetimeFeature , Microsoft . AspNetCore . Connections . Features . IConnectionTransportFeature , Microsoft . AspNetCore . Connections . Features . IMemoryPoolFeature , Microsoft . AspNetCore . Http . Features . IFeatureCollection , System . Collections . Generic . IEnumerable < System . Collections . Generic . KeyValuePair < System . Type , object > > , System . Collections . IEnumerable
131
+ {
132
+ public TransportConnection ( ) { }
133
+ public System . IO . Pipelines . IDuplexPipe Application { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
134
+ public override System . Threading . CancellationToken ConnectionClosed { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
135
+ public override string ConnectionId { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
136
+ public override Microsoft . AspNetCore . Http . Features . IFeatureCollection Features { get { throw null ; } }
137
+ public override System . Collections . Generic . IDictionary < object , object > Items { get { throw null ; } set { } }
138
+ public override System . Net . EndPoint LocalEndPoint { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
139
+ public virtual System . Buffers . MemoryPool < byte > MemoryPool { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
140
+ System . Collections . Generic . IDictionary < object , object > Microsoft . AspNetCore . Connections . Features . IConnectionItemsFeature . Items { get { throw null ; } set { } }
141
+ System . Threading . CancellationToken Microsoft . AspNetCore . Connections . Features . IConnectionLifetimeFeature . ConnectionClosed { get { throw null ; } set { } }
142
+ System . IO . Pipelines . IDuplexPipe Microsoft . AspNetCore . Connections . Features . IConnectionTransportFeature . Transport { get { throw null ; } set { } }
143
+ System . Buffers . MemoryPool < byte > Microsoft . AspNetCore . Connections . Features . IMemoryPoolFeature . MemoryPool { get { throw null ; } }
144
+ bool Microsoft . AspNetCore . Http . Features . IFeatureCollection . IsReadOnly { get { throw null ; } }
145
+ object Microsoft . AspNetCore . Http . Features . IFeatureCollection . this [ System . Type key ] { get { throw null ; } set { } }
146
+ int Microsoft . AspNetCore . Http . Features . IFeatureCollection . Revision { get { throw null ; } }
147
+ public override System . Net . EndPoint RemoteEndPoint { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
148
+ public override System . IO . Pipelines . IDuplexPipe Transport { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] set { } }
149
+ public override void Abort ( Microsoft . AspNetCore . Connections . ConnectionAbortedException abortReason ) { }
150
+ void Microsoft . AspNetCore . Connections . Features . IConnectionLifetimeFeature . Abort ( ) { }
151
+ TFeature Microsoft . AspNetCore . Http . Features . IFeatureCollection . Get < TFeature > ( ) { throw null ; }
152
+ void Microsoft . AspNetCore . Http . Features . IFeatureCollection . Set < TFeature > ( TFeature feature ) { }
153
+ System . Collections . Generic . IEnumerator < System . Collections . Generic . KeyValuePair < System . Type , object > > System . Collections . Generic . IEnumerable < System . Collections . Generic . KeyValuePair < System . Type , System . Object > > . GetEnumerator ( ) { throw null ; }
154
+ System . Collections . IEnumerator System . Collections . IEnumerable . GetEnumerator ( ) { throw null ; }
155
+ }
100
156
}
101
157
namespace Microsoft . AspNetCore . Connections . Features
102
158
{
103
159
public partial interface IConnectionCompleteFeature
104
160
{
105
161
void OnCompleted ( System . Func < object , System . Threading . Tasks . Task > callback , object state ) ;
106
162
}
163
+ public partial interface IConnectionEndPointFeature
164
+ {
165
+ System . Net . EndPoint LocalEndPoint { get ; set ; }
166
+ System . Net . EndPoint RemoteEndPoint { get ; set ; }
167
+ }
107
168
public partial interface IConnectionHeartbeatFeature
108
169
{
109
170
void OnHeartbeat ( System . Action < object > action , object state ) ;
0 commit comments