New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ControlService webapi calls #92
Conversation
… at the wrong point.
hybrasyl/Map.cs
Outdated
// }; | ||
// // We don't implement world map point restrictions yet, so we're done here | ||
// Points.Add(mapPoint); | ||
//} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be included here.
hybrasyl/Game.cs
Outdated
@@ -199,6 +202,14 @@ public static void Main(string[] args) | |||
LogLevel = Hybrasyl.Constants.DEFAULT_LOG_LEVEL; | |||
Assemblyinfo = new AssemblyInfo(Assembly.GetEntryAssembly()); | |||
|
|||
//set up service endpoint for ControlService | |||
|
|||
var host = new WebServiceHost(typeof(ControlService), new Uri("http://localhost:4949/ControlService")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK here, I'll take on the task of extending the XML for config to handle configuring this, along with the "shutdown password" / token.
We should also use a more standard X-Access-Token
versus exposing the key in the GET request.
👍 |
No description provided.