-
Notifications
You must be signed in to change notification settings - Fork 488
Socket.IO support #1
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
Closed
Closed
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
7b20146
Add initial Socket.IO support.
koush 47a7822
Add proper cleanup for errors.
koush 3e4a159
Fix cleanup to null out the client. Prevent multiple connections whil…
koush 2c88ddb
Documentation for Socket.IO support.
koush 76d8cf5
Remove extraHeaders for Socket.IO connections.
koush b0c10cc
Copyright for my changes.
koush 44caf8e
Update the title and credits.
koush c511e73
Clean up the titles around usage.
koush 6558e4c
Update SocketIOClient to actually use the SocketIOClient class.
koush 4f49431
Rename send to emit, similar to how the node/javascript code names it.
koush 8bce20f
Fixed bug with incorrect URL when base URI with trailing slash used.
FilipZawada 71be505
Update README.md
mike-stewart e088b9e
Merge pull request #2 from mike-stewart/patch-1
koush 80322b3
Fire onConnect event when connection established
bkase 6adfa2a
Fixed crash on a no-argument message
bkase 7de2163
Merge pull request #4 from bkase/fix_noargs
koush 9760910
Merge pull request #1 from FilipZawada/master
koush 620cc90
Merge pull request #3 from bkase/fire_connect
koush b45e80c
Update src/com/codebutler/android_websockets/HybiParser.java
koush 18a3624
Merge pull request #5 from codebutler/master
koush e33c05b
Added heartbeat replies, fixed two bugs, and added logging.
mike-stewart 8c8bf39
Merge pull request #6 from mike-stewart/master
koush 86617e5
Create an SSL socket for https connections.
mike-stewart e683f20
Merge pull request #7 from mike-stewart/master
koush 4b2fa51
Added manifest target sdk
fbd83b5
Added support for JSONMessage and Message to SocketIOClient
acc3552
Renamed method onJSONMessage to onJSON
vinaysshenoy 85e5926
Merge pull request #9 from vinaysshenoy/master
koush f440715
Update README.md
vinaysshenoy fc5d023
Update README.md
vinaysshenoy d8645d6
Merge pull request #10 from vinaysshenoy/master
koush a6a3b99
update project properties and build xml
koush 3cbe3ee
Fixed double firing of onConnect event in SocketIOClient handler.
mike-stewart 878842d
Merge pull request #12 from mike-stewart/master
koush 1174d7e
add isConnected method
pefoley2 84119d1
Merge pull request #13 from pefoley2/master
koush File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,5 @@ | ||
| gen/ | ||
| bin | ||
| gen | ||
| .classpath | ||
| .project | ||
| local.properties |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # To enable ProGuard in your project, edit project.properties | ||
| # to define the proguard.config property as described in that file. | ||
| # | ||
| # Add project specific ProGuard rules here. | ||
| # By default, the flags in this file are appended to flags specified | ||
| # in ${sdk.dir}/tools/proguard/proguard-android.txt | ||
| # You can edit the include path and order by changing the ProGuard | ||
| # include property in project.properties. | ||
| # | ||
| # For more details, see | ||
| # http://developer.android.com/guide/developing/tools/proguard.html | ||
|
|
||
| # Add any project specific keep options here: | ||
|
|
||
| # If your project uses WebView with JS, uncomment the following | ||
| # and specify the fully qualified class name to the JavaScript interface | ||
| # class: | ||
| #-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
| # public *; | ||
| #} |
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,4 +12,4 @@ | |
|
|
||
| android.library=true | ||
| # Project target. | ||
| target=android-14 | ||
| target=android-8 | ||
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Backported this to Froyo, was missing this function.