onSend

open fun <T> onSend(responseType: Class<T>): RestResponse<T>