Commit 4c29e0b
authored
Add headers to be able to track bidi usage (#6939)
Originally we were not tracking bidi usage in android. This PR enables
it by adding certain headers when the initial websocket connection is
made. There was some refractoring done wrt to extract out the part which
just adds the headers from the applyCommonConfiguration function1 parent 525f293 commit 4c29e0b
File tree
1 file changed
+10
-7
lines changed- firebase-ai/src/main/kotlin/com/google/firebase/ai/common
1 file changed
+10
-7
lines changedLines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
| 194 | + | |
200 | 195 | | |
201 | 196 | | |
202 | 197 | | |
| |||
205 | 200 | | |
206 | 201 | | |
207 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
208 | 211 | | |
209 | 212 | | |
210 | 213 | | |
| |||
0 commit comments