React Native 保持 http 连接处于活动状态

den*_*hik 6 keep-alive fetch react-native axios

我需要使用 keep-alive http 连接,但是没有关于此的信息(或者我没有找到:()

我试过:

  1. RN 使用 prop 获取 api keepalive: true- 它不起作用
  2. RN 获取带 header 的 apiConnection: keep-alive
  3. axios(https://github.com/axios/axios/issues/1846#issuecomment-434208900),但RN环境不支持http模块

React Native 的 fetch 方法是否可以保持 http 连接处于活动状态?