Skip to content

Commit

Permalink
avm2: Implement flash.net.URLRequestMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
relrelb committed Jun 24, 2022
1 parent 4e29df5 commit 13d8565
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/src/avm2/globals/flash/net/URLRequestMethod.as
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package flash.net {
public final class URLRequestMethod {
public static const POST: String = "POST";
public static const GET: String = "GET";
public static const PUT: String = "PUT";
public static const DELETE: String = "DELETE";
public static const HEAD: String = "HEAD";
public static const OPTIONS: String = "OPTIONS";
}
}
1 change: 1 addition & 0 deletions core/src/avm2/globals/globals.as
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ include "flash/geom/Point.as"
include "flash/geom/Rectangle.as"
include "flash/net/URLLoaderDataFormat.as"
include "flash/net/URLRequestHeader.as"
include "flash/net/URLRequestMethod.as"
include "flash/text/AntiAliasType.as"
include "flash/text/FontStyle.as"
include "flash/text/FontType.as"
Expand Down

0 comments on commit 13d8565

Please sign in to comment.