The read function is usually used to receive data from the specified connector. It returns a CiaoData object. It accepts three optional parameters that could be used by the connector to customize and process the read request.
read(connector [, param 1] [, param 2] [, param 3])
CiaoData data =Ciao.read("restserver");
Written by arduino.org