THRIFT-3022 Compact protocol for Haxe
Client: Haxe
Patch: Jens Geyer
This closes #388
diff --git a/test/haxe/src/Arguments.hx b/test/haxe/src/Arguments.hx
index 132f208..cae91df 100644
--- a/test/haxe/src/Arguments.hx
+++ b/test/haxe/src/Arguments.hx
@@ -32,6 +32,7 @@
enum ProtocolType {
binary;
json;
+ compact;
}
enum EndpointTransport {
@@ -190,7 +191,7 @@
if( arg == "binary") {
protocol = binary;
} else if( arg == "compact") {
- throw "Compact protocol not supported yet";
+ protocol = compact;
} else if( arg == "json") {
protocol = json;
} else {