@@ -302,9 +302,61 @@ public HttpsConnectionMiddleware(Microsoft.AspNetCore.Connections.ConnectionDele
302
302
public System . Threading . Tasks . Task OnConnectionAsync ( Microsoft . AspNetCore . Connections . ConnectionContext context ) { throw null ; }
303
303
}
304
304
}
305
-
305
+ namespace Microsoft . AspNetCore . Server . Kestrel . Https
306
+ {
307
+ public static partial class CertificateLoader
308
+ {
309
+ internal static bool DoesCertificateHaveAnAccessiblePrivateKey ( System . Security . Cryptography . X509Certificates . X509Certificate2 certificate ) { throw null ; }
310
+ internal static bool IsCertificateAllowedForServerAuth ( System . Security . Cryptography . X509Certificates . X509Certificate2 certificate ) { throw null ; }
311
+ }
312
+ }
306
313
namespace Microsoft . AspNetCore . Server . Kestrel . Core . Internal
307
314
{
315
+ internal static partial class MemoryPoolExtensions
316
+ {
317
+ public static int GetMinimumAllocSize ( this System . Buffers . MemoryPool < byte > pool ) { throw null ; }
318
+ public static int GetMinimumSegmentSize ( this System . Buffers . MemoryPool < byte > pool ) { throw null ; }
319
+ }
320
+ internal partial class DuplexPipeStreamAdapter < TStream > : Microsoft . AspNetCore . Server . Kestrel . Core . Internal . DuplexPipeStream , System . IO . Pipelines . IDuplexPipe where TStream : System . IO . Stream
321
+ {
322
+ public DuplexPipeStreamAdapter ( System . IO . Pipelines . IDuplexPipe duplexPipe , System . Func < System . IO . Stream , TStream > createStream ) : base ( default ( System . IO . Pipelines . PipeReader ) , default ( System . IO . Pipelines . PipeWriter ) , default ( bool ) ) { }
323
+ public DuplexPipeStreamAdapter ( System . IO . Pipelines . IDuplexPipe duplexPipe , System . IO . Pipelines . StreamPipeReaderOptions readerOptions , System . IO . Pipelines . StreamPipeWriterOptions writerOptions , System . Func < System . IO . Stream , TStream > createStream ) : base ( default ( System . IO . Pipelines . PipeReader ) , default ( System . IO . Pipelines . PipeWriter ) , default ( bool ) ) { }
324
+ public System . IO . Pipelines . PipeReader Input { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
325
+ public System . IO . Pipelines . PipeWriter Output { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
326
+ public TStream Stream { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
327
+ protected override void Dispose ( bool disposing ) { }
328
+ public override System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
329
+ }
330
+ internal partial class DuplexPipeStream : System . IO . Stream
331
+ {
332
+ public DuplexPipeStream ( System . IO . Pipelines . PipeReader input , System . IO . Pipelines . PipeWriter output , bool throwOnCancelled = false ) { }
333
+ public override bool CanRead { get { throw null ; } }
334
+ public override bool CanSeek { get { throw null ; } }
335
+ public override bool CanWrite { get { throw null ; } }
336
+ public override long Length { get { throw null ; } }
337
+ public override long Position { get { throw null ; } set { } }
338
+ public override System . IAsyncResult BeginRead ( byte [ ] buffer , int offset , int count , System . AsyncCallback callback , object state ) { throw null ; }
339
+ public override System . IAsyncResult BeginWrite ( byte [ ] buffer , int offset , int count , System . AsyncCallback callback , object state ) { throw null ; }
340
+ public void CancelPendingRead ( ) { }
341
+ public override int EndRead ( System . IAsyncResult asyncResult ) { throw null ; }
342
+ public override void EndWrite ( System . IAsyncResult asyncResult ) { }
343
+ public override void Flush ( ) { }
344
+ public override System . Threading . Tasks . Task FlushAsync ( System . Threading . CancellationToken cancellationToken ) { throw null ; }
345
+ public override int Read ( byte [ ] buffer , int offset , int count ) { throw null ; }
346
+ public override System . Threading . Tasks . Task < int > ReadAsync ( byte [ ] buffer , int offset , int count , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
347
+ public override System . Threading . Tasks . ValueTask < int > ReadAsync ( System . Memory < byte > destination , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
348
+ public override long Seek ( long offset , System . IO . SeekOrigin origin ) { throw null ; }
349
+ public override void SetLength ( long value ) { }
350
+ public override void Write ( byte [ ] buffer , int offset , int count ) { }
351
+ public override System . Threading . Tasks . Task WriteAsync ( byte [ ] buffer , int offset , int count , System . Threading . CancellationToken cancellationToken ) { throw null ; }
352
+ public override System . Threading . Tasks . ValueTask WriteAsync ( System . ReadOnlyMemory < byte > source , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
353
+ }
354
+ internal partial class ConnectionLimitMiddleware
355
+ {
356
+ internal ConnectionLimitMiddleware ( Microsoft . AspNetCore . Connections . ConnectionDelegate next , Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Infrastructure . ResourceCounter concurrentConnectionCounter , Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Infrastructure . IKestrelTrace trace ) { }
357
+ public ConnectionLimitMiddleware ( Microsoft . AspNetCore . Connections . ConnectionDelegate next , long connectionLimit , Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Infrastructure . IKestrelTrace trace ) { }
358
+ public System . Threading . Tasks . Task OnConnectionAsync ( Microsoft . AspNetCore . Connections . ConnectionContext connection ) { throw null ; }
359
+ }
308
360
internal static partial class HttpConnectionBuilderExtensions
309
361
{
310
362
public static Microsoft . AspNetCore . Connections . IConnectionBuilder UseHttpServer < TContext > ( this Microsoft . AspNetCore . Connections . IConnectionBuilder builder , Microsoft . AspNetCore . Server . Kestrel . Core . Internal . ServiceContext serviceContext , Microsoft . AspNetCore . Hosting . Server . IHttpApplication < TContext > application , Microsoft . AspNetCore . Server . Kestrel . Core . HttpProtocols protocols ) { throw null ; }
@@ -1484,8 +1536,6 @@ internal static partial class IntegerEncoder
1484
1536
}
1485
1537
internal partial class IntegerDecoder
1486
1538
{
1487
- private int _i ;
1488
- private int _m ;
1489
1539
public IntegerDecoder ( ) { }
1490
1540
public bool BeginTryDecode ( byte b , int prefixLength , out int result ) { throw null ; }
1491
1541
public static void ThrowIntegerTooBigException ( ) { }
@@ -1834,7 +1884,24 @@ internal enum TimeoutReason
1834
1884
TimeoutFeature = 6 ,
1835
1885
}
1836
1886
}
1837
-
1887
+ namespace Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Infrastructure
1888
+ {
1889
+ [ System . Diagnostics . Tracing . EventSourceAttribute ( Name = "Microsoft-AspNetCore-Server-Kestrel" ) ]
1890
+ internal sealed partial class KestrelEventSource : System . Diagnostics . Tracing . EventSource
1891
+ {
1892
+ public static readonly Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Infrastructure . KestrelEventSource Log ;
1893
+ [ System . Runtime . CompilerServices . MethodImpl ( System . Runtime . CompilerServices . MethodImplOptions . NoInlining ) ] [ System . Diagnostics . Tracing . EventAttribute ( 5 , Level = System . Diagnostics . Tracing . EventLevel . Verbose ) ]
1894
+ public void ConnectionRejected ( string connectionId ) { }
1895
+ [ System . Diagnostics . Tracing . NonEventAttribute ]
1896
+ public void ConnectionStart ( Microsoft . AspNetCore . Connections . ConnectionContext connection ) { }
1897
+ [ System . Diagnostics . Tracing . NonEventAttribute ]
1898
+ public void ConnectionStop ( Microsoft . AspNetCore . Connections . ConnectionContext connection ) { }
1899
+ [ System . Diagnostics . Tracing . NonEventAttribute ]
1900
+ public void RequestStart ( Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Http . HttpProtocol httpProtocol ) { }
1901
+ [ System . Diagnostics . Tracing . NonEventAttribute ]
1902
+ public void RequestStop ( Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Http . HttpProtocol httpProtocol ) { }
1903
+ }
1904
+ }
1838
1905
namespace Microsoft . AspNetCore . Server . Kestrel . Core . Internal . Infrastructure . PipeWriterHelpers
1839
1906
{
1840
1907
internal sealed partial class ConcurrentPipeWriter : System . IO . Pipelines . PipeWriter
0 commit comments