Skip to content

Commit 4f802ea

Browse files
committed
update README
1 parent e5317fa commit 4f802ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Stream uses [Faye](http://faye.jcoglan.com) for realtime notifications. Below is
227227
```dart
228228
229229
// ⚠️ userToken is generated server-side (see previous section)
230-
final client = connect('YOUR_API_KEY', token: userToken,appId: 'APP_ID');
230+
final client = StreamClient.connect('YOUR_API_KEY', token: userToken,appId: 'APP_ID');
231231
final user1 = client.flatFeed('user', '1');
232232
233233
// subscribe to the changes

0 commit comments

Comments
 (0)