mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 07:43:50 +00:00
1. Modified WebRTC_DataChannel to use union, to simplify struct def
2. Added ChainLink MetaData 3. Added 'ChainViewer' to allow JS to debug Chain events
This commit is contained in:
@@ -2475,7 +2475,7 @@ ILibWebClient_RequestManager ILibCreateWebClient(int PoolSize, void *Chain)
|
||||
if ((RetVal = (struct ILibWebClientManager*)malloc(sizeof(struct ILibWebClientManager))) == NULL) ILIBCRITICALEXIT(254);
|
||||
memset(RetVal, 0, sizeof(struct ILibWebClientManager));
|
||||
RetVal->MaxConnectionsToSameServer = 1;
|
||||
|
||||
RetVal->ChainLink.MetaData = "ILibWebClient";
|
||||
RetVal->ChainLink.DestroyHandler = &ILibDestroyWebClient;
|
||||
RetVal->ChainLink.PreSelectHandler = &ILibWebClient_PreProcess;
|
||||
//RetVal->PostSelect = &ILibWebClient_PreProcess;
|
||||
|
||||
Reference in New Issue
Block a user