Skip to content

Commit b81576f

Browse files
authored
Update README.md
1 parent fd5c603 commit b81576f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ func main() {
3333
os.Exit(1)
3434
}
3535

36+
buf := make([]byte, 4096)
37+
3638
// Will `Read` from the connection and send a `101 Switching Protocols` response
3739
// if valid, otherwise sends a `400 Bad Request` response.
3840
err := gows.UpgradeConnection(&conn, buf)

0 commit comments

Comments
 (0)