Ooui-tws-port/Samples/Program.cs

19 lines
413 B
C#
Raw Normal View History

2017-06-12 22:35:19 +00:00
using System;
using Ooui;
namespace Samples
{
class Program
{
static int Main (string[] args)
{
Console.WriteLine ("Hello World!");
var server = new Server ();
2017-06-12 23:24:40 +00:00
var button = new Button();
server.Publish ("/button", button);
2017-06-12 22:35:19 +00:00
server.RunAsync ("http://*:8080/").Wait ();
return 0;
}
}
}