BotanSS/net/events/PostRequest.js

21 lines
307 B
JavaScript
Raw Normal View History

2016-06-16 07:16:29 +00:00
"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;