openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_IsClient()

int32_t HITLS_IsClient ( const HITLS_Ctx ctx,
bool *  isClient 
)

Check whether the current end is client.

参数
ctx[IN] TLS connection handle
isClient[OUT] Client or not.
返回值
HITLS_SUCCESS,obtainingthe status succeeded. For details about other error codes, see hitls_error.h.