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
The into_text and to_text methods on Message currently return a Result with tungstenite's error type even though the only error they can produce is a UTF-8 error. I suggest that they use FromUtf8Error and Utf8Error like Frame's into_string and to_text methods.
(Also, Message::into_text and Frame::into_string are named inconsistently...)
The text was updated successfully, but these errors were encountered:
The
into_text
andto_text
methods onMessage
currently return aResult
with tungstenite's error type even though the only error they can produce is a UTF-8 error. I suggest that they useFromUtf8Error
andUtf8Error
likeFrame
'sinto_string
andto_text
methods.(Also,
Message::into_text
andFrame::into_string
are named inconsistently...)The text was updated successfully, but these errors were encountered: