Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

This branch is 14 commits behind mirage:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README.md
client.sh
coolclock.js
generate_ssl_cert.sh
index.html
sse.html
test_accept.ml
test_async_integration.ml
test_header.ml
test_net_async.ml
test_net_async_http10.ml
test_net_async_multi_get.ml
test_net_async_server.ml
test_net_lwt.ml
test_net_lwt_client_and_server.ml
test_net_lwt_google.ml
test_net_lwt_google_custom_ctx.ml
test_net_lwt_lastminute.ml
test_net_lwt_multi_get.ml
test_net_lwt_server.ml
test_parser.ml
test_parser_async.ml
test_post_with_curl.sh
test_request.ml
test_sanity.ml
test_xhr.ml

README.md

The Server Side Events example here is lifted from the HTML5 Doctor, which is under the Apache 2 license at: https://github.com/html5rocks/www.html5rocks.com

To run it, build the test cases in the main repository and then:

You should be able to see the timestamp printing to the server console and reflecting on the clock on the webpage. Magic!

Something went wrong with that request. Please try again.