You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Copy file name to clipboardexpand all lines: docs/CONFIG.md
+9
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ The js-ipfs config file is a JSON document located in the root directory of the
7
7
-[Profiles](#profiles)
8
8
-[`Addresses`](#addresses)
9
9
-[`API`](#api)
10
+
-[`RPC`](#rpc)
10
11
-[`Delegates`](#delegates)
11
12
-[`Gateway`](#gateway)
12
13
-[`Swarm`](#swarm)
@@ -85,6 +86,14 @@ The IPFS daemon exposes an HTTP API that allows to control the node and run the
85
86
86
87
Default: `/ip4/127.0.0.1/tcp/5002`
87
88
89
+
### `RPC`
90
+
91
+
js-IPFS has a gRPC-over-websockets server that allows it to do things that you cannot do over HTTP like bi-directional streaming. It implements the same API as the [HTTP API Spec](https://docs.ipfs.io/reference/api/http) and can be accessed using the [ipfs-client](https://www.npmjs.com/package/ipfs-client) module.
92
+
93
+
Configure the address it listens on using this config key.
94
+
95
+
Default: `/ip4/127.0.0.1/tcp/5003`
96
+
88
97
### `Delegates`
89
98
90
99
Delegate peers are used to find peers and retrieve content from the network on your behalf.
0 commit comments