We send a state of ansi2html to client, client needs to send this state back. The state describes the configuration of generator and position within trace.