okhttp / okhttp3 / Cookie / Builder / hostOnlyDomain

hostOnlyDomain

fun hostOnlyDomain(domain: String): Cookie.Builder

Set the host-only domain for this cookie. The cookie will match domain but none of its subdomains.