requests struct on connect