This was an oversight on my part, apologies for that. There is a new, opaque type, websocket_req:req(). I'll update the spec for this module to reflect this.