-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
h3i's assertion API philosophy is to offload as much of the processing as possible to the user, for maximum flexibility. As such, we shouldn't expose a function that shows all HEADERS - rather, we should just allow the user to provide their own lambdas. If, in the future, we want to provide convenience methods for _all_ frame types, we can do so. However, we should think more on where we want to draw that line. This also changes StreamMap's backing store from a HashMap to a BTreeMap to make inter-stream ordering deterministic when iterating over all received frames.
- Loading branch information
1 parent
4e1a3ed
commit f6f9be3
Showing
1 changed file
with
125 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters