Last change
on this file since 388 was 387, checked in by alloc, 2 years ago |
Big refactoring in Web to pass around a Context instead of a bunch of individual arguments all the time
|
File size:
344 bytes
|
Line | |
---|
1 | namespace AllocsFixes.NetConnections.Servers.Web.API {
|
---|
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.