mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
update docs
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
`FastAPI-Admin` provide a notification center implement by websocket.
|
||||
|
||||

|
||||

|
||||
|
||||
## Usage
|
||||
|
||||
@@ -33,7 +33,8 @@ One is call `await provider.broadcast()` directly.
|
||||
data = {
|
||||
"title": "test",
|
||||
"content": "//avatars.githubusercontent.com/u/13377178?v=4",
|
||||
"image": "https://avatars.githubusercontent.com/u/13377178?v=4"
|
||||
"image": "https://avatars.githubusercontent.com/u/13377178?v=4",
|
||||
"link": "https://fastapi-admin-docs.long2ice.cn"
|
||||
}
|
||||
await provider.broadcast(data)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user