Formatting (#260)

This commit is contained in:
Jaco Greeff
2018-10-11 21:35:51 +02:00
committed by GitHub
parent a14fff7c3c
commit dd521f0e45
5 changed files with 27 additions and 9 deletions
+2 -3
View File
@@ -20,9 +20,8 @@ const ERROR_SUBSCRIBE = 'HTTP Provider does not have subscriptions, use WebSocke
* # @polkadot/rpc-provider/https
*
* @name HttpProvider
* @summary The HTTP Provider allows sending requests using HTTP to a HTTP RPC server TCP port.
* @description It does not support subscriptions so you won't be able to listen to events
* such as new blocks or balance changes. It is usually preferrable using the [[WsProvider]].
*
* @description The HTTP Provider allows sending requests using HTTP to a HTTP RPC server TCP port. It does not support subscriptions so you won't be able to listen to events such as new blocks or balance changes. It is usually preferrable using the [[WsProvider]].
*
* @example
* <BR>
+3 -3
View File
@@ -42,9 +42,9 @@ interface WSProviderInterface extends ProviderInterface {
* # @polkadot/rpc-provider/ws
*
* @name WsProvider
* @summary The WebSocket Provider allows sending requests using WebSocket to a WebSocket RPC server TCP port.
* @description Unlike the [[HttpProvider]], it does support subscriptions and allows
* listening to events such as new blocks or balance changes.
*
* @description The WebSocket Provider allows sending requests using WebSocket to a WebSocket RPC server TCP port. Unlike the [[HttpProvider]], it does support subscriptions and allows listening to events such as new blocks or balance changes.
*
* @example
* <BR>
*