namespace Webserver.WebAPI { public abstract class AbsWebAPI { public readonly string Name; protected AbsWebAPI (string _name = null) { Name = _name ?? GetType ().Name; } public abstract void HandleRequest (RequestContext _context); public virtual int DefaultPermissionLevel () { return 0; } } }