Method UseListeningPort
UseListeningPort(ushort)
Sets the main ListeningPort of this host builder.
public HttpServerHostContextBuilder UseListeningPort(ushort port)
Parameters
portushortThe port the server will listen on.
Returns
UseListeningPort(string)
Sets the main ListeningPort of this host builder.
public HttpServerHostContextBuilder UseListeningPort(string uri)
Parameters
uristringThe URI component that will be parsed to the listening port format.
Returns
UseListeningPort(ListeningPort)
Sets the main ListeningPort of this host builder.
public HttpServerHostContextBuilder UseListeningPort(ListeningPort listeningPort)
Parameters
listeningPortListeningPortThe ListeningPort object which the HTTP server will listen to.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語