Networking
  constructor(reactContext: ReactApplicationContext, @Nullable defaultUserAgent: String, client: OkHttpClient, @Nullable networkInterceptorCreators: List<NetworkInterceptorCreator>)
Parameters
context
the ReactContext of the application
constructor(context: ReactApplicationContext, networkInterceptorCreators: List<NetworkInterceptorCreator>)
Parameters
context
the ReactContext of the application
network
list of NetworkInterceptorCreator's whose create() methods would be called to attach the interceptors to the client.
Parameters
context
the ReactContext of the application
default
the User-Agent header that will be set for all requests where the caller does not provide one explicitly