nitcorn :: HttpServer :: respond
response
to the client
# Send back `response` to the client
fun respond(response: HttpResponse)
do
response.render.write_to(self)
for path in response.files do write_file path
end
lib/nitcorn/reactor.nit:91,2--96,4
redef fun respond(response)
do
super
if log_nitcorn_actions then print "{remote_address}: response header '{response.header.join(",", ":")}' to '{remote_address}'"
end
lib/nitcorn/log.nit:50,2--54,4