[CI Skip] 0.31.95
This commit is contained in:
@@ -34,7 +34,7 @@ const api = new Api(provider);
|
||||
|
||||
⊕ **new HttpProvider**(endpoint?: *`string`*): [HttpProvider](_http_index_.httpprovider.md)
|
||||
|
||||
*Defined in [http/index.ts:40](https://github.com/polkadot-js/api/blob/b09cbf6/packages/rpc-provider/src/http/index.ts#L40)*
|
||||
*Defined in [http/index.ts:40](https://github.com/polkadot-js/api/blob/8dbf0fa/packages/rpc-provider/src/http/index.ts#L40)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `boolean`
|
||||
|
||||
*Defined in [http/index.ts:56](https://github.com/polkadot-js/api/blob/b09cbf6/packages/rpc-provider/src/http/index.ts#L56)*
|
||||
*Defined in [http/index.ts:56](https://github.com/polkadot-js/api/blob/8dbf0fa/packages/rpc-provider/src/http/index.ts#L56)*
|
||||
|
||||
*__summary__*: Whether the node is connected or not.
|
||||
|
||||
@@ -68,7 +68,7 @@ ___
|
||||
|
||||
▸ **on**(type: *`ProviderInterface$Emitted`*, sub: *`ProviderInterface$EmitCb`*): `void`
|
||||
|
||||
*Defined in [http/index.ts:64](https://github.com/polkadot-js/api/blob/b09cbf6/packages/rpc-provider/src/http/index.ts#L64)*
|
||||
*Defined in [http/index.ts:64](https://github.com/polkadot-js/api/blob/8dbf0fa/packages/rpc-provider/src/http/index.ts#L64)*
|
||||
|
||||
*__summary__*: Events are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
▸ **send**(method: *`string`*, params: *`Array`<`any`>*): `Promise`<`any`>
|
||||
|
||||
*Defined in [http/index.ts:71](https://github.com/polkadot-js/api/blob/b09cbf6/packages/rpc-provider/src/http/index.ts#L71)*
|
||||
*Defined in [http/index.ts:71](https://github.com/polkadot-js/api/blob/8dbf0fa/packages/rpc-provider/src/http/index.ts#L71)*
|
||||
|
||||
*__summary__*: Send HTTP POST Request with Body to configured HTTP Endpoint.
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
▸ **subscribe**(types: *`string`*, method: *`string`*, params: *`Array`<`any`>*, cb: *`ProviderInterface$Callback`*): `Promise`<`number`>
|
||||
|
||||
*Defined in [http/index.ts:93](https://github.com/polkadot-js/api/blob/b09cbf6/packages/rpc-provider/src/http/index.ts#L93)*
|
||||
*Defined in [http/index.ts:93](https://github.com/polkadot-js/api/blob/8dbf0fa/packages/rpc-provider/src/http/index.ts#L93)*
|
||||
|
||||
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
|
||||
|
||||
@@ -132,7 +132,7 @@ ___
|
||||
|
||||
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
||||
|
||||
*Defined in [http/index.ts:102](https://github.com/polkadot-js/api/blob/b09cbf6/packages/rpc-provider/src/http/index.ts#L102)*
|
||||
*Defined in [http/index.ts:102](https://github.com/polkadot-js/api/blob/8dbf0fa/packages/rpc-provider/src/http/index.ts#L102)*
|
||||
|
||||
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user