Microsoft.AspNetCore.Server.Kestrel.Core
7 wrapped types. Load them with using { "Microsoft.AspNetCore.Server.Kestrel.Core" }. Click a class to open it.
Http2Limits class
Microsoft.AspNetCore.Server.Kestrel.Core.Http2Limits · assembly Microsoft.AspNetCore.Server.Kestrel.Core
Constructors
new Http2Limits() |
Ring: new Http2Limits(args) uses one constructor; the others are chosen by the parameter names: new Http2Limits().@New([ :param = value ]) or dnNew("Http2Limits",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MaxStreamsPerConnection | int | read, write | o.MaxStreamsPerConnection o.MaxStreamsPerConnection = v |
HeaderTableSize | int | read, write | o.HeaderTableSize o.HeaderTableSize = v |
MaxFrameSize | int | read, write | o.MaxFrameSize o.MaxFrameSize = v |
MaxRequestHeaderFieldSize | int | read, write | o.MaxRequestHeaderFieldSize o.MaxRequestHeaderFieldSize = v |
InitialConnectionWindowSize | int | read, write | o.InitialConnectionWindowSize o.InitialConnectionWindowSize = v |
InitialStreamWindowSize | int | read, write | o.InitialStreamWindowSize o.InitialStreamWindowSize = v |
KeepAlivePingDelay | TimeSpan | read, write | o.KeepAlivePingDelay o.KeepAlivePingDelay = v |
KeepAlivePingTimeout | TimeSpan | read, write | o.KeepAlivePingTimeout o.KeepAlivePingTimeout = v |
Http3Limits class
Microsoft.AspNetCore.Server.Kestrel.Core.Http3Limits · assembly Microsoft.AspNetCore.Server.Kestrel.Core
Constructors
new Http3Limits() |
Ring: new Http3Limits(args) uses one constructor; the others are chosen by the parameter names: new Http3Limits().@New([ :param = value ]) or dnNew("Http3Limits",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MaxRequestHeaderFieldSize | int | read, write | o.MaxRequestHeaderFieldSize o.MaxRequestHeaderFieldSize = v |
KestrelServer class
Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer · assembly Microsoft.AspNetCore.Server.Kestrel.Core
Implements: IDisposable
Constructors
new KestrelServer(IOptions<KestrelServerOptions> options, IConnectionListenerFactory transportFactory, ILoggerFactory loggerFactory) |
Ring: new KestrelServer(args) uses one constructor; the others are chosen by the parameter names: new KestrelServer().@New([ :param = value ]) or dnNew("KestrelServer",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Features | IFeatureCollection | read | o.Features |
Options | KestrelServerOptions | read | o.Options |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
StartAsync | callMethod("StartAsync",[p1,p2]) | Task StartAsync<TContext>(IHttpApplication<TContext> application, CancellationToken cancellationToken) |
StopAsync | callMethod("StopAsync",[p1]) | Task StopAsync(CancellationToken cancellationToken) |
KestrelServerLimits class
Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits · assembly Microsoft.AspNetCore.Server.Kestrel.Core
Constructors
new KestrelServerLimits() |
Ring: new KestrelServerLimits(args) uses one constructor; the others are chosen by the parameter names: new KestrelServerLimits().@New([ :param = value ]) or dnNew("KestrelServerLimits",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MaxResponseBufferSize | long? | read, write | o.MaxResponseBufferSize o.MaxResponseBufferSize = v |
MaxRequestBufferSize | long? | read, write | o.MaxRequestBufferSize o.MaxRequestBufferSize = v |
MaxRequestLineSize | int | read, write | o.MaxRequestLineSize o.MaxRequestLineSize = v |
MaxRequestHeadersTotalSize | int | read, write | o.MaxRequestHeadersTotalSize o.MaxRequestHeadersTotalSize = v |
MaxRequestHeaderCount | int | read, write | o.MaxRequestHeaderCount o.MaxRequestHeaderCount = v |
MaxRequestBodySize | long? | read, write | o.MaxRequestBodySize o.MaxRequestBodySize = v |
KeepAliveTimeout | TimeSpan | read, write | o.KeepAliveTimeout o.KeepAliveTimeout = v |
RequestHeadersTimeout | TimeSpan | read, write | o.RequestHeadersTimeout o.RequestHeadersTimeout = v |
MaxConcurrentConnections | long? | read, write | o.MaxConcurrentConnections o.MaxConcurrentConnections = v |
MaxConcurrentUpgradedConnections | long? | read, write | o.MaxConcurrentUpgradedConnections o.MaxConcurrentUpgradedConnections = v |
Http2 | Http2Limits | read | o.Http2 |
Http3 | Http3Limits | read | o.Http3 |
MinRequestBodyDataRate | MinDataRate | read, write | o.MinRequestBodyDataRate o.MinRequestBodyDataRate = v |
MinResponseDataRate | MinDataRate | read, write | o.MinResponseDataRate o.MinResponseDataRate = v |
KestrelServerOptions class
Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions · assembly Microsoft.AspNetCore.Server.Kestrel.Core
Constructors
new KestrelServerOptions() |
Ring: new KestrelServerOptions(args) uses one constructor; the others are chosen by the parameter names: new KestrelServerOptions().@New([ :param = value ]) or dnNew("KestrelServerOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AllowHostHeaderOverride | bool | read, write | o.AllowHostHeaderOverride o.AllowHostHeaderOverride = v |
AddServerHeader | bool | read, write | o.AddServerHeader o.AddServerHeader = v |
AllowResponseHeaderCompression | bool | read, write | o.AllowResponseHeaderCompression o.AllowResponseHeaderCompression = v |
AllowSynchronousIO | bool | read, write | o.AllowSynchronousIO o.AllowSynchronousIO = v |
AllowAlternateSchemes | bool | read, write | o.AllowAlternateSchemes o.AllowAlternateSchemes = v |
DisableStringReuse | bool | read, write | o.DisableStringReuse o.DisableStringReuse = v |
EnableAltSvc | bool | read, write | o.EnableAltSvc o.EnableAltSvc = v |
RequestHeaderEncodingSelector | Func<string, Encoding> | read, write | o.RequestHeaderEncodingSelector o.RequestHeaderEncodingSelector = v |
ResponseHeaderEncodingSelector | Func<string, Encoding> | read, write | o.ResponseHeaderEncodingSelector o.ResponseHeaderEncodingSelector = v |
ApplicationServices | IServiceProvider | read, write | o.ApplicationServices o.ApplicationServices = v |
Limits | KestrelServerLimits | read | o.Limits |
ConfigurationLoader | KestrelConfigurationLoader | read, write | o.ConfigurationLoader o.ConfigurationLoader = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Configure | Configure(NULL)Configure(value)Configure([ :config = … ])Configure([ :config = …, :reloadOnChange = … ]) | KestrelConfigurationLoader Configure()KestrelConfigurationLoader Configure(IConfiguration config)KestrelConfigurationLoader Configure(IConfiguration config, bool reloadOnChange) |
ConfigureEndpointDefaults | ConfigureEndpointDefaults(p1) | void ConfigureEndpointDefaults(Action<ListenOptions> configureOptions) |
ConfigureHttpsDefaults | ConfigureHttpsDefaults(p1) | void ConfigureHttpsDefaults(Action<HttpsConnectionAdapterOptions> configureOptions) |
Listen | callMethod("Listen",[p1])callMethod("Listen",[p1,p2])callMethod("Listen",[p1,p2,p3]) | void Listen(IPAddress address, int port)void Listen(IPAddress address, int port, Action<ListenOptions> configure)void Listen(IPEndPoint endPoint)void Listen(EndPoint endPoint)void Listen(IPEndPoint endPoint, Action<ListenOptions> configure)void Listen(EndPoint endPoint, Action<ListenOptions> configure) |
ListenAnyIP | callMethod("ListenAnyIP",[p1])callMethod("ListenAnyIP",[p1,p2]) | void ListenAnyIP(int port)void ListenAnyIP(int port, Action<ListenOptions> configure) |
ListenHandle | callMethod("ListenHandle",[p1])callMethod("ListenHandle",[p1,p2]) | void ListenHandle(ulong handle)void ListenHandle(ulong handle, Action<ListenOptions> configure) |
ListenLocalhost | callMethod("ListenLocalhost",[p1])callMethod("ListenLocalhost",[p1,p2]) | void ListenLocalhost(int port)void ListenLocalhost(int port, Action<ListenOptions> configure) |
ListenNamedPipe | callMethod("ListenNamedPipe",[p1])callMethod("ListenNamedPipe",[p1,p2]) | void ListenNamedPipe(string pipeName)void ListenNamedPipe(string pipeName, Action<ListenOptions> configure) |
ListenUnixSocket | callMethod("ListenUnixSocket",[p1])callMethod("ListenUnixSocket",[p1,p2]) | void ListenUnixSocket(string socketPath)void ListenUnixSocket(string socketPath, Action<ListenOptions> configure) |
ListenOptions class
Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions · assembly Microsoft.AspNetCore.Server.Kestrel.Core
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
EndPoint | EndPoint | read | o.EndPoint |
IPEndPoint | IPEndPoint | read | o.IPEndPoint |
SocketPath | string | read | o.SocketPath |
PipeName | string | read | o.PipeName |
FileHandle | ulong | read | o.FileHandle |
KestrelServerOptions | KestrelServerOptions | read | o.KestrelServerOptions |
Protocols | HttpProtocols | read, write | o.Protocols o.Protocols = v |
DisableAltSvcHeader | bool | read, write | o.DisableAltSvcHeader o.DisableAltSvcHeader = v |
ApplicationServices | IServiceProvider | read | o.ApplicationServices |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Build | callMethod("Build",[]) | ConnectionDelegate Build() |
ToString | callMethod("ToString",[]) | string ToString() |
Use | callMethod("Use",[p1]) | IConnectionBuilder Use(Func<ConnectionDelegate, ConnectionDelegate> middleware) |
MinDataRate class
Microsoft.AspNetCore.Server.Kestrel.Core.MinDataRate · assembly Microsoft.AspNetCore.Server.Kestrel.Core
Constructors
new MinDataRate(double bytesPerSecond, TimeSpan gracePeriod) |
Ring: new MinDataRate(args) uses one constructor; the others are chosen by the parameter names: new MinDataRate().@New([ :param = value ]) or dnNew("MinDataRate",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BytesPerSecond | double | read | o.BytesPerSecond |
GracePeriod | TimeSpan | read | o.GracePeriod |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("ToString",[]) | string ToString() |