Skip to content

Commit

Permalink
[-] setting correct heading size for Server-Sent Eevents
Browse files Browse the repository at this point in the history
  • Loading branch information
bnkamalesh committed Mar 13, 2022
1 parent 0fed900 commit 58ff419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ WebGo exposes a singleton & global scoped logger variable [LOGHANDLER](https://g

The default logger uses Go standard library's `log.Logger` with `os.Stdout` (for debug and info logs) & `os.Stderr` (for warning, error, fatal) as default io.Writers. You can set the io.Writer as well as disable specific types of logs using the `GlobalLoggerConfig(stdout, stderr, cfgs...)` function.

### Server-Sent Events
## Server-Sent Events

[MDN has a very good documentation of what SSE (Server-Sent Events)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events) are. The sample app provided shows how to use the SSE extension of webgo.
## Usage
Expand Down

0 comments on commit 58ff419

Please sign in to comment.