Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSE:Server Sent Events #48

Open
polymath-in opened this issue Jun 19, 2020 · 1 comment
Open

SSE:Server Sent Events #48

polymath-in opened this issue Jun 19, 2020 · 1 comment

Comments

@polymath-in
Copy link

I want to write server sent event handler. How can I use lack for that? Is it possible to use delayed response for that? I am a newbie.

@mavericksy
Copy link

Sup @polymath-in.
So SSE is an HTTP/2 server addition.
Lack is not an HTTP server. Under-lying lack is clack, a server agnostic cradle that handles the lower-level details of the actual server which is still one level lower.
The servers available are :woo :hunchentoot :toot and some more I think.
At the lowest level the HTTP protocol will be decided and used.
The standard protocol used is HTTP/1.1 with clack/lack and the server chosen under that, and I am not aware of any production servers in CL that could be used with clack/lack for HTTP/2.
Clack/lack cannot handle HTTP/2 server protocol.

I hope that clears up the confusion a bit, and I trust your journey through learning the technical details are turning out fruitful.

Please close this issue. Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants