|
Last change
on this file since 388 was 387, checked in by alloc, 3 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
|
| Rev | Line | |
|---|
| [325] | 1 | namespace AllocsFixes.NetConnections.Servers.Web.API {
|
|---|
| [387] | 2 | public abstract class AbsWebAPI {
|
|---|
| [326] | 3 | public readonly string Name;
|
|---|
| 4 |
|
|---|
| [387] | 5 | protected AbsWebAPI (string _name = null) {
|
|---|
| [367] | 6 | Name = _name ?? GetType ().Name;
|
|---|
| [326] | 7 | }
|
|---|
| 8 |
|
|---|
| [387] | 9 | public abstract void HandleRequest (RequestContext _context);
|
|---|
| [332] | 10 |
|
|---|
| [279] | 11 | public virtual int DefaultPermissionLevel () {
|
|---|
| 12 | return 0;
|
|---|
| 13 | }
|
|---|
| [230] | 14 | }
|
|---|
| [325] | 15 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.