Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hostOnlyDomain (2.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cookie.kt

        fun domain(domain: String): Builder = domain(domain, false)
    
        /**
         * Set the host-only domain for this cookie. The cookie will match [domain] but none of
         * its subdomains.
         */
        fun hostOnlyDomain(domain: String): Builder = domain(domain, true)
    
        private fun domain(
          domain: String,
          hostOnly: Boolean,
        ) = apply {
          val canonicalDomain =
            domain.toCanonicalHost()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top