JKRhb / dtls2

A DTLS library for Dart based on OpenSSL.
MIT License
3 stars 0 forks source link

refactor: refactor DTLS client #29

Closed JKRhb closed 1 year ago

JKRhb commented 1 year ago

This PR moves some definitions to shared files for both client and server (in preparation of #28) and slightly improves the documentation of the PskCredentialsCallback type definition.

codecov-commenter commented 1 year ago

Codecov Report

Base: 12.58% // Head: 12.63% // Increases project coverage by +0.04% :tada:

Coverage data is based on head (830b4bc) compared to base (1b34ab5). Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #29 +/- ## ========================================== + Coverage 12.58% 12.63% +0.04% ========================================== Files 7 8 +1 Lines 286 285 -1 ========================================== Hits 36 36 + Misses 250 249 -1 ``` | [Impacted Files](https://codecov.io/gh/JKRhb/dtls2/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Romann) | Coverage Δ | | |---|---|---| | [lib/src/buffer.dart](https://codecov.io/gh/JKRhb/dtls2/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Romann#diff-bGliL3NyYy9idWZmZXIuZGFydA==) | `0.00% <0.00%> (ø)` | | | [lib/src/dtls\_client.dart](https://codecov.io/gh/JKRhb/dtls2/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Romann#diff-bGliL3NyYy9kdGxzX2NsaWVudC5kYXJ0) | `10.16% <0.00%> (+0.36%)` | :arrow_up: | | [lib/src/psk\_credentials.dart](https://codecov.io/gh/JKRhb/dtls2/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Romann#diff-bGliL3NyYy9wc2tfY3JlZGVudGlhbHMuZGFydA==) | `0.00% <ø> (ø)` | | | [lib/src/util.dart](https://codecov.io/gh/JKRhb/dtls2/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Romann#diff-bGliL3NyYy91dGlsLmRhcnQ=) | `0.00% <0.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Romann). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Romann)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.