2015-09-19 01:49:23 +08:00
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
#include "speedy.hpp"
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
2015-09-20 20:30:26 +08:00
|
|
|
uv::UvLoop loop;
|
2015-09-19 01:49:23 +08:00
|
|
|
http::Ipv4 ip("0.0.0.0", 3400);
|
2015-09-20 20:30:26 +08:00
|
|
|
|
|
|
|
speedy::Speedy app(loop, ip);
|
2015-09-19 01:49:23 +08:00
|
|
|
app.listen();
|
|
|
|
|
2015-09-20 20:30:26 +08:00
|
|
|
loop.run(uv::UvLoop::Mode::Default);
|
|
|
|
|
2015-09-19 01:49:23 +08:00
|
|
|
return 0;
|
|
|
|
}
|