What is the meaning of Headrope?

The part of a bolt rope that is sewn to the upper edge or head of a sail.

Source: wiktionary.org