nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
android: make native audio_manager access private
[nit.git]
/
lib
/
nitcorn
/
reactor.nit
diff --git
a/lib/nitcorn/reactor.nit
b/lib/nitcorn/reactor.nit
index
80633b3
..
5bd285d
100644
(file)
--- a/
lib/nitcorn/reactor.nit
+++ b/
lib/nitcorn/reactor.nit
@@
-28,19
+28,14
@@
import http_response
# A server handling a single connection
class HttpServer
# A server handling a single connection
class HttpServer
- super Connection
+ super HTTPConnection
# The associated `HttpFactory`
var factory: HttpFactory
# The associated `HttpFactory`
var factory: HttpFactory
- # 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
private var parser = new HttpRequestParser is lazy
- redef fun read_callback(str)
+ redef fun read_http_request(str)
do
var request_object = parser.parse_http_request(str.to_s)
if request_object != null then delegate_answer request_object
do
var request_object = parser.parse_http_request(str.to_s)
if request_object != null then delegate_answer request_object