Browse Source

added 'set'

Nicolas Cannasse 18 years ago
parent
commit
99b4f70f7d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      std/mtwin/web/Request.hx

+ 4 - 0
std/mtwin/web/Request.hx

@@ -64,6 +64,10 @@ class Request {
 		return ret;
 	}
 
+	public function set( key : String , value : String ) {
+		params.set(key,value);
+	}
+
 	public function get( key : String , ?or : String ) : String {
 		if( params.exists( key ) ) return params.get( key );
 		return or;