View definition

(*Conn).SetReadDeadline

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

Description

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