[CI Skip] 0.30.43
This commit is contained in:
@@ -38,7 +38,7 @@ const api = new Api(provider);
|
||||
|
||||
⊕ **new WsProvider**(endpoint: *`string`*, autoConnect?: *`boolean`*): [WsProvider](_ws_index_.wsprovider.md)
|
||||
|
||||
*Defined in [ws/index.ts:73](https://github.com/polkadot-js/api/blob/c026ecb/packages/api-provider/src/ws/index.ts#L73)*
|
||||
*Defined in [ws/index.ts:73](https://github.com/polkadot-js/api/blob/b05429e/packages/api-provider/src/ws/index.ts#L73)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
▸ **connect**(): `void`
|
||||
|
||||
*Defined in [ws/index.ts:104](https://github.com/polkadot-js/api/blob/c026ecb/packages/api-provider/src/ws/index.ts#L104)*
|
||||
*Defined in [ws/index.ts:104](https://github.com/polkadot-js/api/blob/b05429e/packages/api-provider/src/ws/index.ts#L104)*
|
||||
|
||||
*__summary__*: Manually connect
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `boolean`
|
||||
|
||||
*Defined in [ws/index.ts:121](https://github.com/polkadot-js/api/blob/c026ecb/packages/api-provider/src/ws/index.ts#L121)*
|
||||
*Defined in [ws/index.ts:121](https://github.com/polkadot-js/api/blob/b05429e/packages/api-provider/src/ws/index.ts#L121)*
|
||||
|
||||
*__summary__*: Whether the node is connected or not.
|
||||
|
||||
@@ -227,7 +227,7 @@ ___
|
||||
|
||||
*Overrides EventEmitter.on*
|
||||
|
||||
*Defined in [ws/index.ts:131](https://github.com/polkadot-js/api/blob/c026ecb/packages/api-provider/src/ws/index.ts#L131)*
|
||||
*Defined in [ws/index.ts:131](https://github.com/polkadot-js/api/blob/b05429e/packages/api-provider/src/ws/index.ts#L131)*
|
||||
|
||||
*__summary__*: Listens on events after having subscribed using the [subscribe](_ws_index_.wsprovider.md#subscribe) function.
|
||||
|
||||
@@ -316,7 +316,7 @@ ___
|
||||
|
||||
▸ **send**(method: *`string`*, params: *`Array`<`any`>*, subscription?: *`SubscriptionHandler`*): `Promise`<`any`>
|
||||
|
||||
*Defined in [ws/index.ts:138](https://github.com/polkadot-js/api/blob/c026ecb/packages/api-provider/src/ws/index.ts#L138)*
|
||||
*Defined in [ws/index.ts:138](https://github.com/polkadot-js/api/blob/b05429e/packages/api-provider/src/ws/index.ts#L138)*
|
||||
|
||||
*__summary__*: Send JSON data using WebSockets to configured HTTP Endpoint or queue.
|
||||
|
||||
@@ -337,7 +337,7 @@ ___
|
||||
|
||||
▸ **subscribe**(type: *`string`*, method: *`string`*, params: *`Array`<`any`>*, callback: *[ProviderInterface$Callback](../modules/_types_d_.md#providerinterface_callback)*): `Promise`<`number`>
|
||||
|
||||
*Defined in [ws/index.ts:194](https://github.com/polkadot-js/api/blob/c026ecb/packages/api-provider/src/ws/index.ts#L194)*
|
||||
*Defined in [ws/index.ts:194](https://github.com/polkadot-js/api/blob/b05429e/packages/api-provider/src/ws/index.ts#L194)*
|
||||
|
||||
*__name__*: subscribe
|
||||
|
||||
@@ -374,7 +374,7 @@ ___
|
||||
|
||||
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
||||
|
||||
*Defined in [ws/index.ts:203](https://github.com/polkadot-js/api/blob/c026ecb/packages/api-provider/src/ws/index.ts#L203)*
|
||||
*Defined in [ws/index.ts:203](https://github.com/polkadot-js/api/blob/b05429e/packages/api-provider/src/ws/index.ts#L203)*
|
||||
|
||||
*__summary__*: Allows unsubscribing to subscriptions made with [subscribe](_ws_index_.wsprovider.md#subscribe).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user