diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-09-27 04:01:18 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-09-27 04:01:18 +0000 |
commit | a04f15d1ca440006a53bd0d9f98c12e5abebd969 (patch) | |
tree | 30d37d74b5c99d5d0e7489a421ec44ad0150113f /src/url.lua | |
parent | e1d318f26cf53ce9b2c3044d8d138956150488c7 (diff) | |
download | luasocket-a04f15d1ca440006a53bd0d9f98c12e5abebd969.tar.gz luasocket-a04f15d1ca440006a53bd0d9f98c12e5abebd969.tar.bz2 luasocket-a04f15d1ca440006a53bd0d9f98c12e5abebd969.zip |
Using new module scheme. Still needs fine tuning.
Diffstat (limited to 'src/url.lua')
-rw-r--r-- | src/url.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/url.lua b/src/url.lua index 3fd0aa6..efe7254 100644 --- a/src/url.lua +++ b/src/url.lua | |||
@@ -6,6 +6,11 @@ | |||
6 | ----------------------------------------------------------------------------- | 6 | ----------------------------------------------------------------------------- |
7 | 7 | ||
8 | ----------------------------------------------------------------------------- | 8 | ----------------------------------------------------------------------------- |
9 | -- Declare module | ||
10 | ----------------------------------------------------------------------------- | ||
11 | module("socket.url") | ||
12 | |||
13 | ----------------------------------------------------------------------------- | ||
9 | -- Encodes a string into its escaped hexadecimal representation | 14 | -- Encodes a string into its escaped hexadecimal representation |
10 | -- Input | 15 | -- Input |
11 | -- s: binary string to be encoded | 16 | -- s: binary string to be encoded |