Update README.md

This commit is contained in:
Florent CHAMPIGNY 2025-07-30 08:28:02 +02:00 committed by GitHub
parent 84dc7e3a4d
commit eeb2b1fa00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,10 @@ For each request, you can inspect:
This feature is invaluable for diagnosing backend issues, debugging unexpected API failures, and verifying request payloads and authentication headers.
```
implementation("io.github.openflocon:flocon-okhttp-interceptor:$LAST_VERSION")
```
```
val okHttpClient = OkHttpClient()
.newBuilder()
@ -251,6 +255,25 @@ Flocon.deeplinks(
---
# Grpc
<img width="1207" height="774" alt="GRPC" src="https://github.com/user-attachments/assets/992541b3-3f61-4151-b6f5-0ed1b06ee7e4" />
Similar to network inteceptions, Flocon works with grpc
```
implementation("io.github.openflocon:flocon-grpc-interceptor:$LAST_VERSION")
```
```
ManagedChannelBuilder
...
.intercept(
FloconGrpcInterceptor()
)
.build()
```
## 🧰 Requirements
- An Android device with USB debugging enabled