-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule
,com.facebook.react.bridge.ReactModuleWithSpec
,com.facebook.react.turbomodule.core.interfaces.TurboModule
public abstract class NativeNetworkingAndroidSpec extends ReactContextBaseJavaModule implements ReactModuleWithSpec, TurboModule
-
-
Constructor Summary
Constructors Constructor Description NativeNetworkingAndroidSpec(ReactApplicationContext reactContext)
-
Method Summary
Modifier and Type Method Description abstract void
sendRequest(String method, String url, double requestId, ReadableArray headers, ReadableMap data, String responseType, boolean useIncrementalUpdates, double timeout, boolean withCredentials)
abstract void
abortRequest(double requestId)
abstract void
clearCookies(Callback callback)
abstract void
addListener(String eventName)
abstract void
removeListeners(double count)
-
Methods inherited from class com.facebook.react.bridge.BaseJavaModule
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
-
Methods inherited from class com.facebook.react.bridge.NativeModule
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NativeNetworkingAndroidSpec
NativeNetworkingAndroidSpec(ReactApplicationContext reactContext)
-
-
Method Detail
-
sendRequest
abstract void sendRequest(String method, String url, double requestId, ReadableArray headers, ReadableMap data, String responseType, boolean useIncrementalUpdates, double timeout, boolean withCredentials)
-
abortRequest
abstract void abortRequest(double requestId)
-
clearCookies
abstract void clearCookies(Callback callback)
-
addListener
abstract void addListener(String eventName)
-
removeListeners
abstract void removeListeners(double count)
-
-
-
-