Skip to content

Commit 13d8565

Browse files
committed
avm2: Implement flash.net.URLRequestMethod
1 parent 4e29df5 commit 13d8565

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package flash.net {
2+
public final class URLRequestMethod {
3+
public static const POST: String = "POST";
4+
public static const GET: String = "GET";
5+
public static const PUT: String = "PUT";
6+
public static const DELETE: String = "DELETE";
7+
public static const HEAD: String = "HEAD";
8+
public static const OPTIONS: String = "OPTIONS";
9+
}
10+
}

core/src/avm2/globals/globals.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ include "flash/geom/Point.as"
3434
include "flash/geom/Rectangle.as"
3535
include "flash/net/URLLoaderDataFormat.as"
3636
include "flash/net/URLRequestHeader.as"
37+
include "flash/net/URLRequestMethod.as"
3738
include "flash/text/AntiAliasType.as"
3839
include "flash/text/FontStyle.as"
3940
include "flash/text/FontType.as"

0 commit comments

Comments
 (0)