I\'m getting GET data without issue using: local get, err = client:receive() 开发者_JS百科 But I\'m not sure how to receive POST data.
I\'m having trouble locating how I g开发者_开发技巧o about getting the ip address of each client as they connect to my server, using LuaSockets;
I\'m using Corona SDK to make a simple app that requires luasocket. Corona SDK support luasocket to do async http req.
I am trying to make a Lua program that creates a google sear开发者_C百科ch, and formats all of the results in a different arrangement. The only problem is that I cannot find a way to do these:
The LuaSocket HTTP module documentation says that a timeout can be set on a HTTP connection: The following constants can be set to control the default behavior of the HTTP module:
I use lua 5.1 and the luaSocket 2.0.2-4 to retrieve a page from a web server. I first check if the server is responding and then assign the web server response to lua variables.
I am writing a program that uses Lua socket to communicate with a http server. The API that I am using is \"socket.http.request\", and I have found that it is synchronous. My understanding is that it
The problem is the inability of my Lua server to accept multiple request simultaneously. I attempted to make each client message be processed in its on coroutine, but this seems to have failed.
I want to implement the function like embedding the socket function in my Lua build. So I don\'t need to copy socket.core.dll any more (just for fun).
I used Netbeans to generate Web Sevice client code from WSDL url. But I can\'t change endpoint address at run time using co开发者_C百科de.