server.write "string to write" then log("string done writting!") # Do more stuff then send the final response: "Done!" end