View definition

func IsUnexpectedCloseError

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

Description

IsUnexpectedCloseError returns boolean indicating whether the error is a *CloseError with a code not in the list of expected codes.