From 903ac0d8eb56d8fbeab65b98c9051d2a74421a06 Mon Sep 17 00:00:00 2001 From: Chance Snow Date: Tue, 23 May 2017 12:48:23 -0700 Subject: [PATCH] Fix headers for newer GitHub markdown parser --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4e1cf0e..b5ec57c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#Server-Sent Events [![GoDoc](https://godoc.org/github.com/manucorporat/sse?status.svg)](https://godoc.org/github.com/manucorporat/sse) [![Build Status](https://travis-ci.org/manucorporat/sse.svg)](https://travis-ci.org/manucorporat/sse) +# Server-Sent Events [![GoDoc](https://godoc.org/github.com/manucorporat/sse?status.svg)](https://godoc.org/github.com/manucorporat/sse) [![Build Status](https://travis-ci.org/manucorporat/sse.svg)](https://travis-ci.org/manucorporat/sse) Server-sent events (SSE) is a technology where a browser receives automatic updates from a server via HTTP connection. The Server-Sent Events EventSource API is [standardized as part of HTML5[1] by the W3C](http://www.w3.org/TR/2009/WD-eventsource-20091029/). @@ -6,7 +6,7 @@ Server-sent events (SSE) is a technology where a browser receives automatic upda - [Read this great SSE introduction by the HTML5Rocks guys](http://www.html5rocks.com/en/tutorials/eventsource/basics/) - [Browser support](http://caniuse.com/#feat=eventsource) -##Sample code +## Sample code ```go import "github.com/manucorporat/sse" @@ -40,7 +40,7 @@ data: {"content":"hi!","date":1431540810,"user":"manu"} ``` -##Content-Type +## Content-Type ```go fmt.Println(sse.ContentType) @@ -49,6 +49,6 @@ fmt.Println(sse.ContentType) text/event-stream ``` -##Decoding support +## Decoding support -There is a client-side implementation of SSE coming soon. \ No newline at end of file +There is a client-side implementation of SSE coming soon.