This property contains a path name to limit the cookie to (if provided by the server).
public func cookiePath(cookieIndex: Int32) throws -> String
This property contains a path name to limit the cookie to (if provided by the server). If the server does not provide a cookie path, the path property will be an empty string. The convention in this case is to use the path specified by URLPath as the cookie path.
The CookieIndex parameter specifies the index of the item in the array. The size of the array is controlled by the CookieCount property.
This property is read-only.