加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Change-APIs.txt 3.80 KB
一键复制 编辑 原始数据 按行查看 历史
liangdc 提交于 2017-04-17 20:02 . 20170419
# ======================================== #
HP-Socket v4.2.1 API 更新列表:
# ======================================== #
--------------------
1、TCP:
--------------------
HP_Server_IsSecure (增加)
HP_Agent_IsSecure (增加)
HP_Client_IsSecure (增加)
--------------------
2、HTTP Sync Client:
--------------------
Create_HP_HttpSyncClient (修改:增加可选参数 pListener,如果 pListener 非空则可以监听 HttpSyncClient 的通信事件)
Create_HP_HttpsSyncClient (修改:增加可选参数 pListener,如果 pListener 非空则可以监听 HttpSyncClient 的通信事件)
--------------------
3、HTTP Client:
--------------------
HP_HttpClient_SetUseCookie (增加)
HP_HttpClient_IsUseCookie (增加)
HP_HttpClient_AddCookie (删除)
HP_HttpClient_DeleteCookie (删除)
HP_HttpClient_DeleteAllCookies (删除)
--------------------
4、HTTP Agent:
--------------------
HP_HttpAgent_SetUseCookie (增加)
HP_HttpAgent_IsUseCookie (增加)
HP_HttpAgent_AddCookie (删除)
HP_HttpAgent_DeleteCookie (删除)
HP_HttpAgent_DeleteAllCookies (删除)
--------------------
5、Cookie Management:
--------------------
HP_HttpCookie_MGR_LoadFromFile (增加)
HP_HttpCookie_MGR_SaveToFile (增加)
HP_HttpCookie_MGR_ClearCookies (增加)
HP_HttpCookie_MGR_RemoveExpiredCookies (增加)
HP_HttpCookie_MGR_SetCookie (增加)
HP_HttpCookie_MGR_DeleteCookie (增加)
HP_HttpCookie_MGR_SetEnableThirdPartyCookie (增加)
HP_HttpCookie_MGR_IsEnableThirdPartyCookie (增加)
HP_HttpCookie_HLP_ParseExpires (增加)
HP_HttpCookie_HLP_MakeExpiresStr (增加)
HP_HttpCookie_HLP_ToString (增加)
HP_HttpCookie_HLP_CurrentUTCTime (增加)
HP_HttpCookie_HLP_MaxAgeToExpires (增加)
HP_HttpCookie_HLP_ExpiresToMaxAge (增加)
# ======================================== #
HP-Socket v4.1.1 API 更新列表:
# ======================================== #
--------------------
1、WebSocket:
--------------------
HP_HttpAgent_SendWSMessage
HP_HttpAgent_GetWSMessageState
HP_HttpClient_SendWSMessage
HP_HttpClient_GetWSMessageState
HP_HttpServer_SendWSMessage
HP_HttpServer_GetWSMessageState
HP_Set_FN_HttpAgent_OnWSMessageHeader
HP_Set_FN_HttpAgent_OnWSMessageBody
HP_Set_FN_HttpAgent_OnWSMessageComplete
HP_Set_FN_HttpClient_OnWSMessageHeader
HP_Set_FN_HttpClient_OnWSMessageBody
HP_Set_FN_HttpClient_OnWSMessageComplete
HP_Set_FN_HttpServer_OnWSMessageHeader
HP_Set_FN_HttpServer_OnWSMessageBody
HP_Set_FN_HttpServer_OnWSMessageComplete
--------------------
2、HTTP Sync Client:
--------------------
Create_HP_HttpSyncClient
Destroy_HP_HttpSyncClient
Create_HP_HttpsSyncClient (#SSL)
Destroy_HP_HttpsSyncClientt (#SSL)
HP_HttpSyncClient_OpenUrl
HP_HttpSyncClient_CleanupRequestResult
HP_HttpSyncClient_GetConnectTimeout
HP_HttpSyncClient_GetRequestTimeout
HP_HttpSyncClient_SetConnectTimeout
HP_HttpSyncClient_SetRequestTimeout
HP_HttpSyncClient_GetResponseBody
--------------------
3、TCP / HTTP:
--------------------
HP_Agent_GetRemoteHost
HP_Client_GetRemoteHost
HP_HttpAgent_GetContentEncoding
HP_HttpAgent_GetTransferEncoding
HP_HttpClient_GetContentEncoding
HP_HttpClient_GetTransferEncoding
HP_HttpServer_GetContentEncoding
HP_HttpServer_GetHost
HP_HttpServer_GetTransferEncoding
--------------------
4、其它:
--------------------
SYS_GetIPv4InAddr
SYS_IsIPAddress
SYS_GetIPAddress
SYS_GetOptimalIPByHostName
SYS_NToH64
SYS_HToN64
SYS_CodePageToUnicode
SYS_UnicodeToCodePage
SYS_GbkToUnicode
SYS_UnicodeToGbk
SYS_Utf8ToUnicode
SYS_UnicodeToUtf8
SYS_GbkToUtf8
SYS_Utf8ToGbk
HP_GetHPSocketVersion
SYS_Compress
SYS_CompressEx
SYS_Uncompress
SYS_UncompressEx
SYS_GuessCompressBound
SYS_GZipCompress
SYS_GZipUncompress
SYS_GZipGuessUncompressBound
SYS_GuessBase64EncodeBound
SYS_GuessBase64DecodeBound
SYS_Base64Encode
SYS_Base64Decode
SYS_GuessUrlEncodeBound
SYS_GuessUrlDecodeBound
SYS_UrlEncode
SYS_UrlDecode
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化