2015-10-02 170 views

回答

0

这包括在LuaSocket manual

这将获取你现在正在阅读的页面的“源代码”:

local http = require 'socket.http' 
local res, code, headers, status = 
     http.request 'http://stackoverflow.com/q/32907568/501459' 
print(res) 
+0

感谢您的帮助。 – 3kanjbeen