Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit af84cd1

Browse files
committed
update README: add restUrl option
1 parent 80bfc39 commit af84cd1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ stream.produce(msg)
7878
Option | Default value | Description
7979
------ | ------------- | -----------
8080
url | wss://www.streamr.com/api/v1/ws | Address of the Streamr websocket endpoint to connect to.
81+
restUrl | https://www.streamr.com/api/v1/ws | Base URL of the Streamr REST API.
8182
apiKey | null | Define a default apiKey to use when none is specified in the individual function calls.
8283
autoConnect | true | If set to `true`, the client connects automatically on the first call to `subscribe()`. Otherwise an explicit call to `connect()` is required.
8384
autoDisconnect | true  | If set to `true`, the client automatically disconnects when the last stream is unsubscribed. Otherwise the connection is left open and can be disconnected explicitly by calling `disconnect()`.

0 commit comments

Comments
 (0)