IServer IServer IServer Interface

Definition

Represents a server.

public interface IServer : IDisposable
type IServer = interface
    interface IDisposable
Public Interface IServer
Implements IDisposable
Derived
Implements

Properties

Features Features Features

A collection of HTTP features of the server.

Methods

Start<TContext>(IHttpApplication<TContext>) Start<TContext>(IHttpApplication<TContext>) Start<TContext>(IHttpApplication<TContext>)

Start the server with an application.

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

Start the server with an application.

StopAsync(CancellationToken) StopAsync(CancellationToken) StopAsync(CancellationToken)

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

Applies to