-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Add MessagePack support for Java SignalR Client #23532
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
Merged
Merged
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
58739e0
Implement ParseMessages for java messagePack client
wtgodbe 1bd2ae6
Fix some spacing & syntax
wtgodbe 417805b
Implement write
wtgodbe 77e2033
Tab -> Spaces
wtgodbe 3362173
MessagePacker -> MessageBufferPacker
wtgodbe 8b53f5b
Tabs -> Spaces
wtgodbe f13df5a
Tabs -> Spaces
wtgodbe 27e4765
InvocationMessage may not include streamIDs
wtgodbe 2b59b77
Only 1 ctor per message type
wtgodbe 8ace703
Fixup HubConnection.java
wtgodbe 3da3d24
Change return type of parseMessages to List
wtgodbe 960180a
Fix HubConnection
wtgodbe 6bfdf7a
Check for primitive value before returning
wtgodbe 9f4b606
Implement length header prefix
wtgodbe 4693ac6
Minor fixes
wtgodbe fa2e257
Use ByteBuffer to read length header
wtgodbe 0a629de
Add case for Char
wtgodbe ca2df70
Close unpacker
wtgodbe 769b94e
Typo
wtgodbe 538cb0c
Override onMessage w/ ByteString
wtgodbe 834bfc4
Change OKHttpWebSocketWrapper
wtgodbe 65776fb
Account for nil InvocationId
wtgodbe c9df345
Change interface & MessagePack impl
wtgodbe b1d3e9f
Update JsonHubProtocol
wtgodbe a9c83e4
Use ByteBuffer
wtgodbe d71da9d
Fixup HubConnection
wtgodbe 9dc60f1
Fixup more stuff
wtgodbe f2b414c
Convert more stuff to ByteBuffer
wtgodbe 7559cc4
Account for ReadOnly
wtgodbe 89b126e
Spacing
wtgodbe 4895d6d
No need to reset ByteBuffer when setting position
wtgodbe 7c8a2fb
Add Protocol to HubConnection ctor
wtgodbe 63b49fc
Set default, make stuff public
wtgodbe e9a2b6a
Fixup tests
wtgodbe 897a15f
More test cleanup
wtgodbe 28eadc5
Spacing
wtgodbe 303832e
only grab remaining buffer bytes in json
wtgodbe 5fa92c6
Last test fixes
wtgodbe a8c640e
Get rid of some unused imports
wtgodbe 125cd7f
First round of msgpack tests
wtgodbe 4771aa2
Flip condition
wtgodbe 3f85c55
Respond to feedback
wtgodbe e46b2ee
Spacing
wtgodbe 745b0dc
More tests
wtgodbe 5ee8301
Add test for primitives
wtgodbe a4a0e8f
Add more tests, start using msgpack-jackson
wtgodbe 7f6fe1c
Fix build.gradle
wtgodbe 1f3034b
Remove debug prints
wtgodbe 58bbad3
Start using Type instead of Class
wtgodbe 7c3a18c
Add overloads for Type, make messagePack readValue() more efficient
wtgodbe 43711b1
Apply feedback, add some tests
wtgodbe 77cb968
Add some tests, fix some tests
wtgodbe c4d1fec
Fix tests for real
wtgodbe 602ef33
Add a whole buncha tests
wtgodbe 02a83a5
Add TestUtils change that I didn't commit yesterday
wtgodbe 057a3ae
Respond to some feedback
wtgodbe 58a539d
Add a couple Json tests
wtgodbe ebd6344
Apply more feedback
wtgodbe 3476f89
Move readonly fix to msgpack
wtgodbe 5dc8c5c
Minor optimization
wtgodbe 9746105
Fixup some javadocs
wtgodbe 5a2357e
Respond to feedback
wtgodbe e2bcd96
Remove TypeReference, make Protocols private again
wtgodbe 6e53284
Feedback
wtgodbe 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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.