Added PostFrame, extract eventargs

This commit is contained in:
2016-06-16 15:16:29 +08:00
parent dcdd941f3b
commit cd2cce7e98
5 changed files with 162 additions and 31 deletions
+20
View File
@@ -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;