Skip to content

Commit

Permalink
readme: correct real life example (gobwas#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
xDWart authored and gobwas committed Nov 12, 2017
1 parent 74f819e commit 4a0026a
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 @@ -292,7 +292,7 @@ func main() {
}
return
},
BeforeUpgrade: func() (headerWriter func(io.Writer), err error, code int) {
OnBeforeUpgrade: func() (headerWriter func(io.Writer), err error, code int) {
return ws.HeaderWriter(header), nil, 0
},
}
Expand Down

0 comments on commit 4a0026a

Please sign in to comment.