26 lines
366 B
C#
26 lines
366 B
C#
using System;
|
|
using System.Reflection;
|
|
using IotWeb.Server;
|
|
using IotWeb.Common.Http;
|
|
namespace Nibriboard
|
|
{
|
|
public class Nibriboard
|
|
{
|
|
private HttpServer httpServer;
|
|
|
|
public readonly int Port = 31586;
|
|
|
|
public Nibriboard()
|
|
{
|
|
}
|
|
|
|
public void Setup()
|
|
{
|
|
httpServer = new HttpServer(Port);
|
|
httpServer.AddHttpRequestHandler(
|
|
"/"
|
|
);
|
|
}
|
|
}
|
|
}
|