当使用与 springdoc-openapi 捆绑的请求时,有没有一种方法可以自动将 CSRF 标头包含到从 swagger ui 发出的请求中?
springfox ( GitHub )中似乎实现了类似的解决方案,但我没有找到有关是否可以使用 springdoc-openapi 来完成此操作的信息。
我正在使用该RxAndroidBle库开发一个应用程序,该库大约每30秒定期执行BLE扫描,每分钟左右执行一些BLE操作。几个小时后(通常在5到24小时之间),扫描将停止工作。每次应该开始扫描时,我都会得到:
09-05 09:08:37.160 8160-8160/myapp D/BluetoothAdapter: startLeScan(): null
09-05 09:08:37.165 8160-8160/myapp D/BluetoothAdapter: STATE_ON
09-05 09:08:37.165 8160-8160/myapp D/BluetoothAdapter: STATE_ON
09-05 09:08:37.165 8160-8160/myapp D/BluetoothLeScanner: Start Scan
09-05 09:08:37.165 8160-8160/myapp D/BluetoothAdapter: STATE_ON
09-05 09:08:37.165 8160-8160/myapp D/BluetoothAdapter: STATE_ON
09-05 09:08:37.170 8160-8160/myapp D/BluetoothAdapter: STATE_ON
09-05 09:08:37.170 8160-8160/myapp D/BluetoothAdapter: STATE_ON
09-05 09:08:37.210 8160-12850/myapp D/BluetoothLeScanner: onClientRegistered() - status=133 clientIf=0
09-05 09:08:37.210 8160-12850/myapp D/BluetoothLeScanner: Registration failed, unregister clientIf = 0
09-05 09:08:37.215 8160-8160/myapp D/BluetoothLeScanner: Scan failed, reason app registration failed for UUID = 4c321920-a2b7-449a-bc24-ea4361f7a255
09-05 09:08:44.150 8160-8160/myapp …Run Code Online (Sandbox Code Playgroud) android bluetooth bluetooth-lowenergy android-bluetooth rxandroidble