mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 22:23:37 +00:00
add timeout param to remaining RCTNetworking implementations
Reviewed By: nicklockwood Differential Revision: D2839041 fb-gh-sync-id: 374fca9ce0fdf5622f57a10456c99628ca7a1400
This commit is contained in:
parent
b8ff6212f8
commit
58fc0f07bd
@ -83,7 +83,8 @@ public class NetworkRecordingModuleMock extends ReactContextBaseJavaModule {
|
|||||||
int requestId,
|
int requestId,
|
||||||
ReadableArray headers,
|
ReadableArray headers,
|
||||||
ReadableMap data,
|
ReadableMap data,
|
||||||
boolean incrementalUpdates) {
|
boolean incrementalUpdates,
|
||||||
|
int timeout) {
|
||||||
mLastRequestId = requestId;
|
mLastRequestId = requestId;
|
||||||
mRequestCount++;
|
mRequestCount++;
|
||||||
mRequestMethod = method;
|
mRequestMethod = method;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user