source:
binary-improvements2/WebServer/src/WebAPI/AbsWebAPI.cs@
400
| Last change on this file since 400 was 391, checked in by , 3 years ago | |
|---|---|
| File size: 318 bytes | |
| Line | |
|---|---|
| 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)