IServer Interface

Definition

Represents a server.

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.