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.