1
0
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:
playdohface 2023-02-08 12:54:57 +01:00 committed by GitHub
parent f4eb989dcb
commit 2df944c5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.