forked from GoogleChrome/chrome-extensions-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update websocket-server to use chrome.sockets API.
The chrome.socket API is deprecated since Chrome 33. This commit updates websocket-server to the chrome.sockets.tcp and chrome.sockets.tcpServer APIs. For convenience, the chrome.sockets.tcp socketId is wrapped with a PSocket class with member functions read/write/close that return Promises.
- Loading branch information
1 parent
ba78d3b
commit 453bd57
Showing
2 changed files
with
160 additions
and
83 deletions.
There are no files selected for viewing
This file contains 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 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