IServer IServer Interface

Represents a server.

Syntax

Declaration

public interface IServer : IDisposablePublic Interface IServer
    Inherits IDisposable

Inherited Members

Dispose()
Dispose()

Properties summary

A collection of HTTP features of the server.

Methods summary

Start the server with an application.

Properties

  • Features
    Features
    A collection of HTTP features of the server.
    IFeatureCollection Features { get; }ReadOnly Property Features As IFeatureCollection

    Property Value

Methods

  • Start<TContext>(IHttpApplication<TContext>)
    Start(Of TContext)(IHttpApplication(Of TContext))
    Start the server with an application.
    void Start<TContext>(IHttpApplication<TContext> application)Sub Start(Of TContext)(application As IHttpApplication(Of TContext))

    Parameters

Details

Assembly

Microsoft.AspNetCore.Hosting.Server.Abstractions.dll