You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix struct update type warning in Mint.WebSocket.Extension
The struct update syntax is deprecated in favor of pattern matching
on the struct earlier in scope and then using map update syntax. This
change rewrites the helper `Mint.WebSocket.Extension.accept_extensions/3`
to follow this pattern. Also I've unrolled the `with` into cases to
avoid weird return values if `client_extensions` is updated to something
that isn't `[Extension.t()]` (probably by erroneously using
`Mint.HTTP.put_private/3` on the conn).
0 commit comments