Extracted from Pike v8.0 release 276 as of 2016-07-29.
   

Method SSL.connection()->got_data()


Method got_data

string|int got_data(string|int s)

Description

Main receive handler. Returns a string of received application data, or 1 if a close was received, or -1 if an error occurred.

This function is intended to be called from an i/o read callback.