Added PostFrame, extract eventargs
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
|
||||
var qstr = require( "querystring" );
|
||||
var EventArgs = require( "./EventArgs" );
|
||||
|
||||
class PostRequestEventArgs extends EventArgs
|
||||
{
|
||||
constructor( QueryString )
|
||||
{
|
||||
super();
|
||||
this.Raw = QueryString;
|
||||
}
|
||||
|
||||
get Data()
|
||||
{
|
||||
return qstr.parse( this.Raw );
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = PostRequestEventArgs;
|
||||
Reference in New Issue
Block a user