UrlPrefix.Create Method

Definition

Overloads

Create(String)

http://msdn.microsoft.com/en-us/library/windows/desktop/aa364698(v=vs.85).aspx

Create(String, String, Nullable<Int32>, String)

http://msdn.microsoft.com/en-us/library/windows/desktop/aa364698(v=vs.85).aspx

Create(String, String, String, String)

http://msdn.microsoft.com/en-us/library/windows/desktop/aa364698(v=vs.85).aspx

Create(String)

Source:
UrlPrefix.cs
Source:
UrlPrefix.cs
public:
 static Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^ Create(System::String ^ prefix);
public static Microsoft.AspNetCore.Server.HttpSys.UrlPrefix Create (string prefix);
static member Create : string -> Microsoft.AspNetCore.Server.HttpSys.UrlPrefix
Public Shared Function Create (prefix As String) As UrlPrefix

Parameters

prefix
String

The string that the UrlPrefix will be created from.

Returns

Applies to

Create(String, String, Nullable<Int32>, String)

Source:
UrlPrefix.cs
Source:
UrlPrefix.cs
public:
 static Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^ Create(System::String ^ scheme, System::String ^ host, Nullable<int> portValue, System::String ^ path);
public static Microsoft.AspNetCore.Server.HttpSys.UrlPrefix Create (string scheme, string host, int? portValue, string path);
static member Create : string * string * Nullable<int> * string -> Microsoft.AspNetCore.Server.HttpSys.UrlPrefix
Public Shared Function Create (scheme As String, host As String, portValue As Nullable(Of Integer), path As String) As UrlPrefix

Parameters

scheme
String

http or https. Will be normalized to lower case.

host
String

+, *, IPv4, [IPv6], or a dns name. Http.Sys does not permit punycode (xn--), use Unicode instead.

portValue
Nullable<Int32>

If empty, the default port for the given scheme will be used (80 or 443).

path
String

Should start and end with a '/', though a missing trailing slash will be added. This value must be un-escaped.

Returns

Applies to

Create(String, String, String, String)

Source:
UrlPrefix.cs
Source:
UrlPrefix.cs
public:
 static Microsoft::AspNetCore::Server::HttpSys::UrlPrefix ^ Create(System::String ^ scheme, System::String ^ host, System::String ^ port, System::String ^ path);
public static Microsoft.AspNetCore.Server.HttpSys.UrlPrefix Create (string scheme, string host, string port, string path);
static member Create : string * string * string * string -> Microsoft.AspNetCore.Server.HttpSys.UrlPrefix
Public Shared Function Create (scheme As String, host As String, port As String, path As String) As UrlPrefix

Parameters

scheme
String

http or https. Will be normalized to lower case.

host
String

+, *, IPv4, [IPv6], or a dns name. Http.Sys does not permit punycode (xn--), use Unicode instead.

port
String

If empty, the default port for the given scheme will be used (80 or 443).

path
String

Should start and end with a '/', though a missing trailing slash will be added. This value must be un-escaped.

Returns

Applies to