Closed mehaase closed 6 years ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
trio_websocket/_impl.py | 1 | 93.03% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 97: | 0.3% |
Covered Lines: | 375 |
Relevant Lines: | 404 |
Umm, not sure how this got closed. Obviously I intended to merge it!
Merged directly into master.
Add arguments for configuring message queue size and maximum message size.
The closing code is needlessly complex and made the message size code very difficult to write, so I opened up #90 to refactor the way that closing is handled.
The only other thing that stands out to me is that the connection APIs have a lot of repeated arguments now. I know I could use
**kwargs
to make this more DRY, but then I think (?) that the docs would show kwargs instead of the actual argument names, and that doesn't seem very user-friendly. Thoughts?