Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Section C.1. HTTP Server

C.1. HTTP Server

C.1.1. Class HttpServer

An instance of class HttpServer represents a web service that handles HTTP requests at a particular port, or uses a relay server to make the service accessible even without a public Internet address:

public class HttpServer
{
    public int Port { get; set; }
    public string RelayHost { get; set; }
    public string RelayDomain { get; set; }
    public string RelaySecretKey { get; set; }
    public RequestRouting RequestRouting { get; set; }

    public void Open();
    public void Run();
}


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial