Skip to content

Commit 4e29df5

Browse files
committed
avm2: Implement flash.net.URLRequestHeader
1 parent 8398dc4 commit 4e29df5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package flash.net {
2+
public final class URLRequestHeader {
3+
public var name: String;
4+
public var value: String;
5+
6+
public function URLRequestHeader(name: String = "", value: String = "") {
7+
this.name = name;
8+
this.value = value;
9+
}
10+
}
11+
}

core/src/avm2/globals/globals.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ include "flash/geom/Orientation3D.as"
3333
include "flash/geom/Point.as"
3434
include "flash/geom/Rectangle.as"
3535
include "flash/net/URLLoaderDataFormat.as"
36+
include "flash/net/URLRequestHeader.as"
3637
include "flash/text/AntiAliasType.as"
3738
include "flash/text/FontStyle.as"
3839
include "flash/text/FontType.as"

0 commit comments

Comments
 (0)