Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for dnsoverhttps (0.42 seconds)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        internal var resolvePrivateAddresses = false
        internal var resolvePublicAddresses = true
    
        fun build(): DnsOverHttps {
          val client = this.client ?: throw NullPointerException("client not set")
          return DnsOverHttps(
            client.newBuilder().dns(buildBootstrapClient(this)).build(),
            checkNotNull(url) { "url not set" },
            includeIPv6,
            post,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

          .build()
    
      private fun buildChantra(bootstrapClient: OkHttpClient): DnsOverHttps =
        DnsOverHttps
          .Builder()
          .client(bootstrapClient)
          .url("https://dns.dnsoverhttps.net/dns-query".toHttpUrl())
          .includeIPv6(false)
          .build()
    
      private fun buildCryptoSx(bootstrapClient: OkHttpClient): DnsOverHttps =
        DnsOverHttps
          .Builder()
          .client(bootstrapClient)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmMain/java9/module-info.java

      exports okhttp3.internal.http2 to mockwebserver3, okhttp3.mockwebserver;
      exports okhttp3.internal.platform to okhttp3.logging, okhttp3.java.net.cookiejar, okhttp3.dnsoverhttps, mockwebserver3, okhttp3.mockwebserver, okhttp3.tls;
      exports okhttp3.internal.publicsuffix to okhttp3.dnsoverhttps;
      exports okhttp3.internal.ws to mockwebserver3, okhttp3.mockwebserver;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 992 bytes
    - Click Count (0)
  4. okhttp-dnsoverhttps/src/main/java9/module-info.java

    @SuppressWarnings("module")
    module okhttp3.dnsoverhttps {
      requires okhttp3;
      exports okhttp3.dnsoverhttps;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 112 bytes
    - Click Count (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

     */
    package okhttp3.dnsoverhttps
    
    import java.io.File
    import java.net.UnknownHostException
    import java.security.Security
    import okhttp3.Cache
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.dnsoverhttps.DohProviders.providers
    import org.conscrypt.OpenSSLProvider
    
    private fun runBatch(
      dnsProviders: List<DnsOverHttps>,
      names: List<String>,
    ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.dnsoverhttps
    
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.Dns
    
    /**
     * Internal Bootstrap DNS implementation for handling initial connection to DNS over HTTPS server.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  7. native-image-tests/build.gradle.kts

    }
    
    // TODO reenable other tests
    // https://github.com/square/okhttp/issues/8901
    // sourceSets {
    //  test {
    //    java.srcDirs(
    //      "../okhttp-brotli/src/test/java",
    //      "../okhttp-dnsoverhttps/src/test/java",
    //      "../okhttp-logging-interceptor/src/test/java",
    //      "../okhttp-sse/src/test/java",
    //    )
    //  }
    // }
    
    dependencies {
      implementation(projects.okhttp)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  8. settings.gradle.kts

    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    include(":okhttp")
    include(":okhttp-bom")
    include(":okhttp-brotli")
    include(":okhttp-coroutines")
    include(":okhttp-dnsoverhttps")
    include(":okhttp-hpacktests")
    include(":okhttp-idna-mapping-table")
    include(":okhttp-java-net-cookiejar")
    include(":okhttp-logging-interceptor")
    include(":okhttp-osgi-tests")
    include(":okhttp-sse")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  9. android-test/build.gradle.kts

        )
      }
    
      if (androidBuild) {
        sourceSets["androidTest"].java.srcDirs(
          "../okhttp-brotli/src/test/java",
          "../okhttp-dnsoverhttps/src/test/java",
          "../okhttp-logging-interceptor/src/test/java",
          "../okhttp-sse/src/test/java"
        )
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.8K bytes
    - Click Count (2)
  10. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt

     */
    
    package okhttp3.dnsoverhttps
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import java.net.InetAddress
    import java.net.UnknownHostException
    import kotlin.test.assertFailsWith
    import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_A
    import okhttp3.dnsoverhttps.DnsRecordCodec.TYPE_AAAA
    import okhttp3.dnsoverhttps.DnsRecordCodec.decodeAnswers
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu May 29 20:09:10 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top