Appendix C. Gsiot.Server Library

Here is a summary of the Gsiot.Server library interface. All items described below can be found in namespace Gsiot.Server, which is implemented in Gsiot.Server.dll.

HTTP Server

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();
}
  • int Port

    Optional property that is set to 80 by default. If the ...

Get Getting Started with the Internet of Things now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.