mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-27 21:08:21 +01:00
Wrong namespace.
This commit is contained in:
parent
5e75dc0857
commit
693a201db6
@ -130,7 +130,7 @@ load the modues you directly depend upon: <p>
|
|||||||
<pre class=example>
|
<pre class=example>
|
||||||
Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
|
Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
|
||||||
> http = require("socket.http")
|
> http = require("socket.http")
|
||||||
> print(http.get("http://www.tecgraf.puc-rio.br/luasocket"))
|
> print(http.request("http://www.tecgraf.puc-rio.br/luasocket"))
|
||||||
--> homepage gets dumped to terminal
|
--> homepage gets dumped to terminal
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user