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

Commit 2751c9a

Browse files
committed
Update README.md
Add information about transports connection option.
1 parent 1e80af7 commit 2751c9a

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
@@ -46,6 +46,8 @@ Option | Default value | Description
4646
server | api.streamr.com | Address of the server to connect to.
4747
autoConnect | true | If set to `true`, the client connects automatically on the first call to `subscribe()`. Otherwise an explicit call to `connect()` is required.
4848
autoDisconnect | true  | If set to `true`, the client automatically disconnects when the last channel is unsubscribed. Otherwise the connection is left open and can be disconnected explicitly by calling `disconnect()`.
49+
transports | null | Override default transport selection / upgrade scheme. For example, value `["websocket"]` will force use of sockets right from the beginning, while value `["polling"]` will allow only long-polling to be used.
50+
4951

5052
## Resend options
5153

0 commit comments

Comments
 (0)