Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
funcDocs updated for providers
  • Loading branch information
nivida committed Oct 8, 2019
commit 56f78b501ef64b88a0c80a42bc59e71284460343
6 changes: 6 additions & 0 deletions packages/web3-providers-http/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ HttpProvider.prototype.disconnect = function () {
//NO OP
};

/**
* Returns the desired boolean.
*
* @method supportsSubscriptions
* @returns {boolean}
*/
HttpProvider.prototype.supportsSubscriptions = function () {
return false;
};
Expand Down
3 changes: 3 additions & 0 deletions packages/web3-providers-ipc/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ IpcProvider.prototype.reset = function () {
};

/**
* Returns the desired boolean.
*
* @method supportsSubscriptions
* @returns {boolean}
*/
IpcProvider.prototype.supportsSubscriptions = function () {
Expand Down
3 changes: 3 additions & 0 deletions packages/web3-providers-ws/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,9 @@ WebsocketProvider.prototype.disconnect = function () {
};

/**
* Returns the desired boolean.
*
* @method supportsSubscriptions
* @returns {boolean}
*/
WebsocketProvider.prototype.supportsSubscriptions = function () {
Expand Down