diff --git a/README.md b/README.md index 6d44b4a..6320dae 100644 --- a/README.md +++ b/README.md @@ -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: ----------------------------