process text from server