source:
binary-improvements2/WebServer/src/WebAPI/AbsWebAPI.cs@
400
Last change on this file since 400 was 391, checked in by , 2 years ago | |
---|---|
File size: 318 bytes |
Rev | Line | |
---|---|---|
[391] | 1 | namespace Webserver.WebAPI { |
2 | public abstract class AbsWebAPI { | |
3 | public readonly string Name; | |
4 | ||
5 | protected AbsWebAPI (string _name = null) { | |
6 | Name = _name ?? GetType ().Name; | |
7 | } | |
8 | ||
9 | public abstract void HandleRequest (RequestContext _context); | |
10 | ||
11 | public virtual int DefaultPermissionLevel () { | |
12 | return 0; | |
13 | } | |
14 | } | |
15 | } |
Note:
See TracBrowser
for help on using the repository browser.