Ooui-tws-port/Samples/Program.cs

19 lines
405 B
C#

using System;
using Ooui;
namespace Samples
{
class Program
{
static int Main (string[] args)
{
var server = new Server ();
var button = new Button();
button.Name = "TestButton";
server.Publish ("/button", button);
server.RunAsync ("http://*:8080/").Wait ();
return 0;
}
}
}