Skip to content

Commit

Permalink
update of README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaffle committed Aug 5, 2017
1 parent a97b03d commit 85d6fc2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -52,6 +52,16 @@ Notes:
-----
* If you are using HTTP Basic Authentication, you can embed credentials into the URL - `http://username:password@github.com`.

Custom Headers:
---------------
```
var es = new EventSourcePolyfill('/events', {
headers: {
'X-Custom-Header': 'value'
}
});
```

Other EventSource polyfills:
----------------------------

Expand Down

0 comments on commit 85d6fc2

Please sign in to comment.