Skip to content

Commit

Permalink
feat: send String data more than 16kb
Browse files Browse the repository at this point in the history
If the message exceeds 16kb (only String for now) it is cut in chunks and each chunk is sent over
the WebChannel. Then the message is restored and provided to the API user. Each user/internal
message over the WebChannel is converted to Uint8Array before sending. Adds several tests for Fully
Connected WebChannel: sending a 8192kb String, sendings 200 messages less than 16kb each.

closes #14
  • Loading branch information
kalitine committed May 13, 2016
1 parent 7126095 commit 53a43e5
Show file tree
Hide file tree
Showing 26 changed files with 4,095 additions and 3,283 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
node_modules
jspm_packages
npm-debug.log
npm-debug*

# Build
dist/*
Expand Down
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ System.config({
"path-browserify": "npm:[email protected]"
},
"github:jspm/[email protected]": {
"process": "npm:[email protected].2"
"process": "npm:[email protected].3"
},
"github:jspm/[email protected]": {
"util": "npm:[email protected]"
Expand All @@ -47,7 +47,7 @@ System.config({
"npm:[email protected]": {
"process": "github:jspm/[email protected]"
},
"npm:[email protected].2": {
"npm:[email protected].3": {
"assert": "github:jspm/[email protected]"
},
"npm:[email protected]": {
Expand Down
Loading

0 comments on commit 53a43e5

Please sign in to comment.