nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d73631
)
llib/nitcorn: fixes documentation warnings.
author
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 12 Dec 2014 02:35:44 +0000
(21:35 -0500)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 12 Dec 2014 22:41:37 +0000
(17:41 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/nitcorn/reactor.nit
patch
|
blob
|
history
diff --git
a/lib/nitcorn/reactor.nit
b/lib/nitcorn/reactor.nit
index
1cbb54a
..
1a56ee8
100644
(file)
--- a/
lib/nitcorn/reactor.nit
+++ b/
lib/nitcorn/reactor.nit
@@
-32,7
+32,10
@@
class HttpServer
# The associated `HttpFactory`
var factory: HttpFactory
- init(buf_ev: NativeBufferEvent, factory: HttpFactory) do self.factory = factory
+ # Init the server using `HttpFactory`.
+ init(buf_ev: NativeBufferEvent, factory: HttpFactory) is old_style_init do
+ self.factory = factory
+ end
private var parser = new HttpRequestParser is lazy