* feat: Add Mermaid.js Gitbook plugin. Generate API flow diagram * fix: Remove HTTP from diagram. Change text to funnel user to WS
This commit is contained in:
@@ -18,6 +18,14 @@ import isFunction from '@polkadot/util/is/function';
|
||||
* @name Rpc
|
||||
* @summary The API may use a HTTP or WebSockets provider.
|
||||
* @description It allows for querying a Polkadot Client Node.
|
||||
* WebSockets provider is recommended since HTTP provider only supports basic querying.
|
||||
*
|
||||
* ```mermaid
|
||||
* graph LR;
|
||||
* A[Api] --> |WebSockets| B[WsProvider];
|
||||
* B --> |endpoint| C[ws://127.0.0.1:9944]
|
||||
* ```
|
||||
*
|
||||
* @example
|
||||
* <BR>
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user