mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 07:43:50 +00:00
Much improved, better stability, lots of fixes
This commit is contained in:
@@ -257,9 +257,7 @@ void* ILibWebClient_GetChainFromWebStateObject(ILibWebClient_StateObject wcdo);
|
||||
|
||||
typedef enum ILibWebClient_RequestToken_HTTPS
|
||||
{
|
||||
#ifndef MICROSTACK_NOTLS
|
||||
ILibWebClient_RequestToken_USE_HTTPS = 0,
|
||||
#endif
|
||||
ILibWebClient_RequestToken_USE_HTTP = 1
|
||||
}ILibWebClient_RequestToken_HTTPS;
|
||||
|
||||
@@ -267,6 +265,7 @@ typedef enum ILibWebClient_RequestToken_HTTPS
|
||||
void ILibWebClient_SetTLS(ILibWebClient_RequestManager manager, void *ssl_ctx, ILibWebClient_OnSslConnection OnSslConnection);
|
||||
int ILibWebClient_EnableHTTPS(ILibWebClient_RequestManager manager, struct util_cert* leafCert, X509* nonLeafCert, ILibWebClient_OnHttpsConnection OnHttpsConnection);
|
||||
void ILibWebClient_Request_SetHTTPS(ILibWebClient_RequestToken reqToken, ILibWebClient_RequestToken_HTTPS requestMode);
|
||||
void ILibWebClient_Request_SetSNI(ILibWebClient_RequestToken reqToken, char *host, int hostLen);
|
||||
#endif
|
||||
|
||||
// Added methods
|
||||
|
||||
Reference in New Issue
Block a user