The consent consists in a "human act by which the partners mutually give themselves to each other": "I take you to be my wife" - "I take you to be my husband." This consent that binds the spouses to each other finds its fulfillment in the two "becoming one flesh."
Source: Catechism of the Catholic Church (Vatican.va)