notifyRequestWillBeSent static method
network notification, when network a request will be sent to server
Implementation
static void notifyRequestWillBeSent(
int engineId,
String requestId,
String requestContent,
) {
var contentPtr = requestContent.toNativeUtf16();
var requestIdPtr = requestId.toNativeUtf16();
_BridgeFFIManager.instance.notifyNetworkEvent(
engineId,
requestIdPtr,
NetworkEventType.requestWillBeSent.index,
contentPtr,
nullptr,
);
free(contentPtr);
free(requestIdPtr);
}