Imipramine For restless legs

Ive suffered from restless legs for years and tried almost everything now via my GP. i used codine most of the time and that kinda kept it mostly at bay and tried all the other recommended stuff with no success. Each time we try something new i usually research it well to get some reassurance but this time ive been perscribed Imipramine and i cant find anything tbat relates it to being positive for rls. Does anyone have any experience of this? thanks