mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
fix SSE instructions (#602)
This commit is contained in:
parent
f4eb989dcb
commit
2df944c5e5
@ -10,7 +10,7 @@ cargo run
|
|||||||
Open http://127.0.0.1:8080/ with a browser, then send events with another HTTP client:
|
Open http://127.0.0.1:8080/ with a browser, then send events with another HTTP client:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl 127.0.0.1:8080/broadcast/my_message
|
curl -X post 127.0.0.1:8080/broadcast/my_message
|
||||||
```
|
```
|
||||||
|
|
||||||
_my_message_ should appear in the browser with a timestamp.
|
_my_message_ should appear in the browser with a timestamp.
|
||||||
|
Loading…
Reference in New Issue
Block a user