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.

参数
config[OUT] Config context
callback[IN] ClientHello callback
arg[IN] Product input context
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.