Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
slapos
Commits
712441f6
Commit
712441f6
authored
Aug 06, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/nginx-push-stream add a README introducing this software
parent
db4d05e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
software/nginx-push-stream/README.md
software/nginx-push-stream/README.md
+14
-0
No files found.
software/nginx-push-stream/README.md
0 → 100644
View file @
712441f6
# Nginx Push Stream
This software uses the
[
HTTP Push Stream
](
https://www.nginx.com/resources/wiki/modules/push_stream/
)
module of nginx to make a
[
Server Sent Event
](
https://html.spec.whatwg.org/multipage/server-sent-events.html
)
server.
Two endpoints are available, published as the following connection parameters:
-
`publisher-url`
, which uses
`/pub{?id}`
format, with
`id`
being the ID of the channel.
Clients can subscribe to this URL and be notified of new messages.
-
`subscriber-url`
, which uses
`/sub{/id}`
format, with
`id`
being the ID of the channel.
`POST`
requests to this URL send new messages to this channel.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment