Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

websocketclient.handler can not be resolved #15

Open
rohitshinde opened this issue Oct 23, 2013 · 2 comments
Open

websocketclient.handler can not be resolved #15

rohitshinde opened this issue Oct 23, 2013 · 2 comments

Comments

@rohitshinde
Copy link

when i added your code then showing me following error :
- websocketclient.handler can not be resolved
i already import classes as needed.
error

lopper pushed a commit to lopper/android-websockets that referenced this issue Oct 26, 2013
…rors

Fix syntax errors in README.md's example code
@WashRinseRepeat
Copy link

Hi, I also just had the same problem. The example code is incorrect. you will need to call it as such:

final WebSocketClient client = new WebSocketClient(URI.create("wss://irccloud.com"), new WebSocketClient.Listener() { //etc. } 

Notice it isn't making a new Handler but rather a Listener. It amounts to the same thing.

@kelunik
Copy link

kelunik commented Feb 12, 2015

See #13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants