File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 33 <img alt =" Logo " height =" 100 " src =" https://github.com/explodinglabs/refresh.js/blob/main/.images/logo-dark.png?raw=true#gh-dark-mode-only " />
44</p >
55
6- _ Refresh.js_ lets you ** refresh the browser** with an http request.
6+ _ Refresh.js_ lets you ** refresh browser(s) by sending an HTTP request** .
7+
8+ ## How it works
9+
10+ 1 . The webpage connects to SSEHub and listens for events.
11+ 2 . You send a ` POST ` request to SSEHub.
12+ 3 . SSEHub emits the request as a Server-Sent Event.
13+ 4 . The webpage receives the event and refreshes itself.
714
815<p align =" center " >
916 <img alt =" Architecture diagram " src =" https://github.com/explodinglabs/refresh.js/blob/main/.images/architecture-light.svg?raw=true#gh-light-mode-only " />
@@ -12,7 +19,9 @@ _Refresh.js_ lets you **refresh the browser** with an http request.
1219
1320## Installation
1421
15- Bring up the ` refresh.js ` container (this is just
22+ ### Start the container
23+
24+ Bring up the refresh.js container (this is just
1625[ SSEHub] ( https://github.com/vgno/ssehub ) with a little configuration):
1726
1827``` sh
You can’t perform that action at this time.
0 commit comments