func()

in websocketserver/handlers.go [31:39]


func (s *Server) closeHandler(code int, text string) error {
	for _, n := range s.namespaces {
		if n.disconnectHandler != nil {
			n.disconnectHandler(s.conn)
		}
	}
	// setting the error to nil in order to let the websocket.CloseError bubble up
	return nil
}