elixir-mint / mint

Functional HTTP client for Elixir with support for HTTP/1 and HTTP/2 🌱
Apache License 2.0
1.36k stars 106 forks source link

Correct `get_window_size/2` docs #355

Closed daskycodes closed 2 years ago

daskycodes commented 2 years ago

This PR corrects the documentation for the HTTP2.get_window_size/2 function.

This function only exists in the HTTP2 module, and pattern matches on the :request atom instead of :request_ref

https://github.com/elixir-mint/mint/blob/e7199d1163e5a8a1b0001cacc93063e866dbaa35/lib/mint/http2.ex#L759-L768

whatyouhide commented 2 years ago

Ah, great catches! Thanks @daskycodes ❤️