{"action":"opened","issue":{"url":"https://api.github.com/repos/dhbaird/easywsclient/issues/45","repository_url":"https://api.github.com/repos/dhbaird/easywsclient","labels_url":"https://api.github.com/repos/dhbaird/easywsclient/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/dhbaird/easywsclient/issues/45/comments","events_url":"https://api.github.com/repos/dhbaird/easywsclient/issues/45/events","html_url":"https://github.com/dhbaird/easywsclient/issues/45","id":152977646,"number":45,"title":"Distinguishing text/binary messages","user":{"login":"jpek42","id":6492545,"avatar_url":"https://avatars.githubusercontent.com/u/6492545?v=3","gravatar_id":"","url":"https://api.github.com/users/jpek42","html_url":"https://github.com/jpek42","followers_url":"https://api.github.com/users/jpek42/followers","following_url":"https://api.github.com/users/jpek42/following{/other_user}","gists_url":"https://api.github.com/users/jpek42/gists{/gist_id}","starred_url":"https://api.github.com/users/jpek42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpek42/subscriptions","organizations_url":"https://api.github.com/users/jpek42/orgs","repos_url":"https://api.github.com/users/jpek42/repos","events_url":"https://api.github.com/users/jpek42/events{/privacy}","received_events_url":"https://api.github.com/users/jpek42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T10:15:04Z","updated_at":"2016-05-04T10:15:04Z","closed_at":null,"body":"Hi -\r\n\r\nThanks for the work on this library. It's certainly the easiest-to-consume C++ WS library I've come across.\r\n\r\nOne thing that I don't see is a way to determine whether an incoming message is binary or text. The `_dispatchBinary` method gets the opcode, but then just eats it without telling the `callable`. It seems like it would make sense to pass the type on as well.\r\n\r\nOr maybe I'm missing something in the way things are supposed to work."}}