Skip to content

Commit ee0ed67

Browse files
committed
docs: clarify behaviour of reconfiguring identity
1 parent cd31be8 commit ee0ed67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,8 @@ The agreed subprotocol. Once connected for the first time, this subprotocol beco
477477

478478
Use this method to change any of the `options` that can be passed to the `RPCClient`'s [constructor](#new-rpcclientoptions).
479479

480+
When changing `identity`, the `RPCClient` must be explicitly `close()`d and then `connect()`ed for the change to take effect.
481+
480482
#### client.connect()
481483

482484
The client will attempt to connect to the `RPCServer` specified in `options.url`.

0 commit comments

Comments
 (0)