public string[] Get() { var serverPath = this.config.GetOSVRServerDirectory(); return(OSVRServer.RunningServerPaths()); }
public static string GetOSVRServerDirectory(this IConfiguration config) { var envValue = config.GetValue <string>("OSVR_SERVER_ROOT", null); return(OSVRServer.ParseServerPath(envValue)); }
public void Post() { var serverPath = this.config.GetOSVRServerDirectory(); OSVRServer.Start(serverPath); }
public void Post() { OSVRServer.Stop(); }