esl / jerboa

STUN/TURN encoder, decoder and client library in Elixir
https://www.erlang-solutions.com/products/mongooseim.html
Other
14 stars 6 forks source link

Add ReservationToken.new/0 #99

Closed erszcz closed 7 years ago

erszcz commented 7 years ago

The token size is strictly defined, but it's not exported from the module for outside use. Moreover, passing a value of a wrong size will not error on creation, but on encoding, which is quite late. Having a constructor can solve both of these and make external usage more convenient.

jerboabot commented 7 years ago

Ebert has finished reviewing this Pull Request and has found:

But beware that this branch is 14 commits behind the esl:master branch, and a review of an up to date branch would produce more accurate results.

You can see more details about this review at https://ebertapp.io/github/esl/jerboa/pulls/99.

erszcz commented 7 years ago

Self-merge \o/