View definition

(*Conn).SetWriteDeadline

Defined in github.com/gorilla/websocket/conn.go

Description

SetWriteDeadline sets the write deadline on the underlying network connection. After a write has timed out, the websocket state is corrupt and all future writes will return an error. A zero value for t means writes will not time out.