Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Create a direct way to configure endpoints on Kestrel #996

@Tratcher

Description

@Tratcher

Right now endpoints can only be configured via UseUrls. This limits the opportunity for validation and causes confusion about what's allowed/supported by Kestrel.

e.g. options.AddEndpoint(https, host, port); where scheme is "http" or "https", host is "localhost", "", or an IPAddress, and port is valid. This avoids confusion around why registering "http://.foo.com/" does not filter by host.

@DamianEdwards @davidfowl

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions