اقرأ باللغة الإنجليزية

مشاركة عبر


IServer Interface

Definition

Represents a server.

C#
public interface IServer : IDisposable
Derived
Implements

Properties

Features

A collection of HTTP features of the server.

Methods

Start<TContext>(IHttpApplication<TContext>)

Start the server with an application.

StartAsync<TContext>(IHttpApplication<TContext>, CancellationToken)

Start the server with an application.

StopAsync(CancellationToken)

Stop processing requests and shut down the server, gracefully if possible.

Applies to

منتج الإصدارات
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0