Skip to content

Conversation

@ballinette
Copy link

@ballinette ballinette commented Feb 23, 2018

Add support for HTTP protocol

fix #167
fix also #282

Ballinette added 12 commits February 21, 2018 19:10
#5
+ prepare global abstract network wrapper (with common methods for HTTP and RT protocols)
+ unit-test improvements
#5
Fix Kuzzle connection/disconnection workflow
* browser support via `XMLHttpRequest`
* nodejs support via `http.request`
@codecov-io
Copy link

codecov-io commented Feb 26, 2018

Codecov Report

Merging #271 into 6.x will decrease coverage by 3.7%.
The diff coverage is 44.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##              6.x     #271      +/-   ##
==========================================
- Coverage   83.98%   80.27%   -3.71%     
==========================================
  Files          17       19       +2     
  Lines        1917     2023     +106     
==========================================
+ Hits         1610     1624      +14     
- Misses        307      399      +92
Impacted Files Coverage Δ
src/networkWrapper/index.js 90% <0%> (-10%) ⬇️
src/Collection.js 99.39% <100%> (ø) ⬆️
src/networkWrapper/protocols/websocket.js 100% <100%> (ø) ⬆️
src/networkWrapper/protocols/socketio.js 96% <100%> (+0.08%) ⬆️
src/networkWrapper/protocols/http.js 5.49% <5.49%> (ø)
src/networkWrapper/protocols/abstract/realtime.js 52.38% <57.14%> (-21.08%) ⬇️
src/Kuzzle.js 36.94% <66.66%> (-0.1%) ⬇️
src/networkWrapper/protocols/abstract/common.js 82.92% <82.92%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a2502e...ddac4a1. Read the comment docs.

}
});
}
// Track requests made to allow Room.subscribeToSelf to work
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment seems to be a leftover from previous sdk versions

@scottinet scottinet merged commit 7c54ee4 into 6.x Mar 9, 2018
@scottinet scottinet deleted the 5-http-protocol branch March 9, 2018 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants