openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetClientHelloCb()

int32_t HITLS_CFG_SetClientHelloCb ( HITLS_Config config,
HITLS_ClientHelloCb  callback,
void *  arg 
)

Set the cookie verification callback on the server.

Parameters
config[OUT] Config context
callback[IN] ClientHello callback
arg[IN] Product input context
Return values
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.