Forked from gregsifr/gist:6bdcc23c540d63dd5ffdb441fb452d94
Created
November 11, 2017 10:23
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loop { | |
for message in client.incoming_messages() { | |
match message.unwrap() { | |
OwnedMessage::Text(data) => data, | |
_ => None, | |
}; | |
} | |
} |
gregsifr
commented
Nov 11, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment