openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_ReadHasPending()

int32_t HITLS_ReadHasPending ( const HITLS_Ctx ctx,
uint8_t *  isPending 
)

Check the HiTLS object in the read cache.

(including processed and unprocessed data, excluding the network layer) Whether there is data

参数
ctx[IN] TLS connection handle
isPending[OUT] Whether there is data. The options are as follows: 1: yes; 0: no.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.