Skip to content

Commit 757dc52

Browse files
committed
no actually don't use a url like this
1 parent 180e379 commit 757dc52

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/phoenix/sync/client.ex

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,6 @@ defmodule Phoenix.Sync.Client do
106106
columns: ["id", "title"]
107107
)
108108
109-
# consumer a pre-defined shape from a remote server, e.g.
110-
# one defined using `Phoenix.Sync.Controller.sync_render/3` or
111-
# `Phoenix.Sync.Router.sync/2`.
112-
stream = Phoenix.Sync.Client.stream(
113-
"https://myapp.com/sync/todos?user_id=1234"
114-
)
115-
116109
# once you have a stream, consume it as usual
117110
Enum.each(stream, &IO.inspect/1)
118111

0 commit comments

Comments
 (0)