Interface IKestrelWebServerService
Provides middleware access to the Kestrel remoting server.
Namespace: Snowflake.Remoting.Kestrel
Assembly: Snowflake.Framework.Remoting.dll
Syntax
public interface IKestrelWebServerService
Methods
AddService<T>(T)
Registers a Kestrel middleware.
Kestrel middleware can only be registered within Compose(IModule, IService
Declaration
void AddService<T>(T kestrelServerMiddleware)
where T : IKestrelServerMiddlewareProvider
Parameters
| Type | Name | Description |
|---|---|---|
| T | kestrelServerMiddleware | The middleware to register to the Kestrel server. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the class that implements the middleware. |