typedef void(* MyQttPreRead)(MyQttCtx *ctx, MyQttConn *listener, MyQttConn *conn, MyQttConnOpts *opts, axlPointer user_data)

Optional Pre-read handler definition that represents the set of functions that are called before any read operation happens on the provided connection.

Parameters
ctxThe context where the operation takes place.
listernerThe listener that accepted the provided connection.
connThe connection where the operation takes place.
optsThe connection options reference used for this connection.
user_dataUser defined pointer received on the handler and defined at the time the pre-read handler was defined.