openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetSession()

int32_t HITLS_SetSession ( HITLS_Ctx ctx,
HITLS_Session session 
)

Set the handle for the session information about the HiTLS link.

注意
Used only by the client.
参数
ctx[OUT] TLS connection handle
session[IN] Session information handle.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.