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.

Parameters
ctx[IN] TLS connection handle
isClient[OUT] Client or not.
Return values
HITLS_SUCCESS,obtainingthe status succeeded. For details about other error codes, see hitls_error.h.