July 2017
Intermediate to advanced
434 pages
12h 59m
English
sendRecv($command)
Internally sendRecv($command) calls send($command) then recvEvent(), and returns an instance of ESLevent.
recvEvent() is called in a loop until it receives an event with a header named "content-type" that has a value of "api/response" or "command/reply", and then returns it as an instance of ESLevent.
Any events that are received by recvEvent() prior to the reply event are queued up, and will get returned on subsequent calls to recvEvent() in your program.
Read now
Unlock full access