THRIFT-3728 http transport for thrift-lua
This closes #938
diff --git a/test/lua/test_basic_client.lua b/test/lua/test_basic_client.lua
index fea426d..77d8d07 100644
--- a/test/lua/test_basic_client.lua
+++ b/test/lua/test_basic_client.lua
@@ -19,6 +19,7 @@
require('TSocket')
require('TBufferedTransport')
require('TFramedTransport')
+require('THttpTransport')
require('TCompactProtocol')
require('TJsonProtocol')
require('TBinaryProtocol')
@@ -65,10 +66,12 @@
local transports = {
buffered = TBufferedTransport,
framed = TFramedTransport,
+ http = THttpTransport,
}
assert(transports[opt.transport] ~= nil)
local transport = transports[opt.transport]:new{
- trans = socket
+ trans = socket,
+ isServer = false
}
local protocols = {