Commit bd123b2
committed
refactor(sacp): extract role-agnostic MatchMessage from MatchMessageFrom
- Add new MatchMessage struct for pure parsing without role awareness
- MatchMessage provides if_request, if_notification, if_message methods
- MatchMessageFrom now delegates parsing to MatchMessage
- MatchMessageFrom applies endpoint transforms before delegating
- Both types share the same fluent API pattern
This separation allows simpler parsing when endpoint transforms
aren't needed, while keeping role-aware matching for proxy scenarios.1 parent 61c08e1 commit bd123b2
2 files changed
Lines changed: 278 additions & 152 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments