Comparison

net/http/server.lua @ 4706:845393c76d17

net.http.server: Expose events object (for debug purposes)
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Apr 2012 06:58:57 +0100
parent 4704:d6c4e58333cf
child 4709:98bfebb38705
comparison
equal deleted inserted replaced
4705:447f5a94792d 4706:845393c76d17
239 addserver(interface or "*", port, listener, "*a", ssl); 239 addserver(interface or "*", port, listener, "*a", ssl);
240 end 240 end
241 241
242 _M.listener = listener; 242 _M.listener = listener;
243 _M.codes = codes; 243 _M.codes = codes;
244 _M._events = events;
244 return _M; 245 return _M;