Пример #1
0
 internal RobotHttpServer(int serverPort, HoloLensRobot bot)
 {
     this.bot = bot;
     sock     = new StreamSocketListener();
     sock.Control.KeepAlive   = true;
     defaultPort              = serverPort;
     sock.ConnectionReceived += async(s, e) => await ProcessRequestAsync(e.Socket);
 }
Пример #2
0
 public Drive(HoloLensRobot robot)
 {
     _robot = robot;
 }