First commit.
This commit is contained in:
11
framework/Request.js
Normal file
11
framework/Request.js
Normal file
@@ -0,0 +1,11 @@
|
||||
export class Request {
|
||||
|
||||
constructor( method, payload = {} ) {
|
||||
|
||||
this.method = method; // method name to call on Controller, e.g. "Ping"
|
||||
|
||||
this.payload = payload; // any data for the method
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user