diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-08 20:40:50 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-08 20:40:50 +0530 |
commit | 951ab565d150b4f108254e06a14ccbe7f1005469 (patch) | |
tree | c6b6113bf208983e5f669cd0bce45f49bb3aa4a6 /python | |
parent | fdef1db3953b4684c2f7dc2dad6fd95ddabdd50a (diff) | |
parent | e8c8277f34f35ee23f70568c4f725a1ffcc0f66b (diff) | |
download | servo-951ab565d150b4f108254e06a14ccbe7f1005469.tar.gz servo-951ab565d150b4f108254e06a14ccbe7f1005469.zip |
Auto merge of #8867 - nfallen:6638-websocket_loader, r=jdm
Move websocket creation to resource task
This is a pull request for part of https://github.com/servo/servo/issues/6638
It includes the following changes:
-The websocket networking code (ie. making a connection, receiving data, and sending data) has been extracted out of components/script/dom/websocket.rs and into the new file components/net/websocket_loader.rs.
-websocket.rs now communicates with the resource task (components/net/resource_task.rs) to instruct it to initiate a new websocket connection
- websocket_loader.rs now provides an API sent over an IPCChannel that allows websocket.rs to receive feedback about this process and to subsequently send and receive data
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8867)
<!-- Reviewable:end -->
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions