Commit 2afa75a
Allow to set optional headers (#1456)
* Allow to set optional headers, that are passed on to Phoenix when the LiveView makes the initial connection
* Update Sources/LiveViewNative/Coordinators/LiveSessionConfiguration.swift
Co-authored-by: Carson Katri <[email protected]>
Signed-off-by: Adrian Schönig <[email protected]>
* Update Sources/LiveViewNative/Coordinators/LiveSessionCoordinator.swift
Co-authored-by: Carson Katri <[email protected]>
Signed-off-by: Adrian Schönig <[email protected]>
* Make `headers` nil by default
* Update CHANGELOG.md
---------
Signed-off-by: Adrian Schönig <[email protected]>
Co-authored-by: Carson Katri <[email protected]>1 parent 4e8fcf3 commit 2afa75a
File tree
3 files changed
+10
-0
lines changed- Sources/LiveViewNative/Coordinators
3 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
| 353 | + | |
352 | 354 | | |
353 | 355 | | |
354 | 356 | | |
| |||
0 commit comments