forked from ldcsaa/HP-Socket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Change-APIs.txt
148 lines (128 loc) · 3.8 KB
/
Change-APIs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# ======================================== #
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