Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Request for additional exampleΒ #121

@sourcerror

Description

@sourcerror

Hello,

I found this library works very well and the examples were easy to understand. However, when I look at them I get the impression that it should also be possible to send server-side-events using this library. However, when I tried I could not get it to work, I think because all examples correctly close the connection when they are done.
Would it be possible to send server side events using simple-web-server? And if so, could you add an example, for example an equivalent of the server-time clock at https://www.w3schools.com/html/html5_serversentevents.asp.

Thanks for sharing your great project any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions