Arduino Function: client.read

Description

It reads the next byte received from the server where client is connected to. It reads the next byte after the last call to read(). The function read() inherits from the Stream utility class.

Syntax

client.read()

Returns

 It returns the next byte (or character), or -1 if none is available. *byte *-1 if none is available


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc