Use abstract (to not disallow custom HTTP request methods)
This commit is contained in:
@@ -1,14 +1,13 @@
|
|||||||
package lime.net;
|
package lime.net;
|
||||||
|
|
||||||
|
|
||||||
enum HTTPRequestMethod {
|
@:enum abstract HTTPRequestMethod(String) from String to String {
|
||||||
|
|
||||||
GET;
|
public var DELETE = "DELETE";
|
||||||
POST;
|
public var GET = "GET";
|
||||||
HEAD;
|
public var HEAD = "HEAD";
|
||||||
PUT;
|
public var OPTIONS = "OPTIONS";
|
||||||
DELETE;
|
public var POST = "POST";
|
||||||
OPTIONS;
|
public var PUT = "PUT";
|
||||||
CONNECT;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user