ServerAddressesFeature Class

Definition

Specifies the address used by the server.

public ref class ServerAddressesFeature : Microsoft::AspNetCore::Hosting::Server::Features::IServerAddressesFeature
public class ServerAddressesFeature : Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature
type ServerAddressesFeature = class
    interface IServerAddressesFeature
Public Class ServerAddressesFeature
Implements IServerAddressesFeature
Inheritance
ServerAddressesFeature
Implements

Constructors

ServerAddressesFeature()

Properties

Addresses

An ICollection<T> of addresses used by the server.

PreferHostingUrls

true to prefer URLs configured by the host rather than the server.

Applies to