1 // Copyright 2016 The Gorilla WebSocket Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
9 func (c *Conn) writeBufs(bufs ...[]byte) error {
10 for _, buf := range bufs {
12 if _, err := c.conn.Write(buf); err != nil {