Sending client state to view.