v2.0.0: More Features!
Added two new features to MoCore:
- Centralized HTTP server, so plugins can use the same port to listen for requests. See the new
GetHttpHandlermethod in IMoPlugin for more information.- The short version: In the new method, return an object that implements IMoHttpHandler, and the server will call it when a request comes in. Your code can modify the response from there.
- Moved the Variable system from SlipChat, meaning now your plugin can simply call
VariableHandler.ParseVariablesto parse a string with variables in it, and it will return the string with the variables replaced with their values. This is also available via the HTTP server, for those feeling fancy.