Method
GetLocalPort
func GetLocalPort() -> Result<int, HttpError>
Declaring type: HttpServer
Module: System.Web.Http
Assembly: System.Web.dll
Source file: HttpServer.rvn
Returns the listener's bound port.
Return value
The selected port or HttpError.Transport carrying the socket error.