Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 356 Bytes
import { WebServer, WebAcceptor } from "tgrid/protocols/web";
import { CompositeCalculator } from "../../providers/Calculator";
async function main(): Promise<void>
{
let server: WebServer = new WebServer();
await server.open(10102, async (acceptor: WebAcceptor) =>
{
await acceptor.accept(new CompositeCalculator());
});
}
main();
You can’t perform that action at this time.