Skip to content

//okhttp/okhttp3/Cookie/path

path

[jvm]\

@get:JvmName(name = "path")

val path: String

Returns this cookie’s path. This cookie matches URLs prefixed with path segments that match this path’s segments. For example, if this path is /foo this cookie matches requests to /foo and /foo/bar, but not / or /football.