Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 4,587 for okhttp (0.03 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

    import java.security.spec.X509EncodedKeySpec
    import java.util.concurrent.TimeUnit
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HeldCertificate.Companion.decode
    import okio.ByteString.Companion.decodeBase64
    import org.bouncycastle.asn1.x509.GeneralName
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class HeldCertificateTest {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/okio/LoggingFilesystem.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.okio
    
    import okio.FileSystem
    import okio.ForwardingFileSystem
    import okio.Path
    import okio.Sink
    import okio.Source
    
    class LoggingFilesystem(
      fileSystem: FileSystem,
    ) : ForwardingFileSystem(fileSystem) {
      fun log(line: String) {
        println(line)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    import okhttp3.internal.and
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString
    
    /**
     * This class was originally composed from the following classes in
     * [Twitter Hpack][twitter_hpack].
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import org.junit.runner.Runner
    
    expect class PublicSuffixTestRunner : Runner
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 23 16:58:05 UTC 2025
    - 753 bytes
    - Viewed (0)
  5. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import java.security.Security
    
    actual object PlatformRegistry {
      private val isConscryptPreferred: Boolean
        get() {
          val preferredProvider = Security.getProviders()[0].name
          return "Conscrypt" == preferredProvider
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.InterruptedIOException
    import java.net.ProtocolException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okio.IOException
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import okio.ByteString
    
    /**
     * Basic I/O for `PublicSuffixDatabase.list`
     */
    internal interface PublicSuffixList {
      fun ensureLoaded()
    
      val bytes: ByteString
      val exceptionBytes: ByteString
    
      companion object
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 929 bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSession
    
    class RecordingHostnameVerifier : HostnameVerifier {
      @JvmField
      val calls: MutableList<String> = mutableListOf()
    
      @Synchronized override fun verify(
        hostname: String,
        session: SSLSession,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 980 bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 931 bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageDeflater.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import java.io.Closeable
    import java.io.IOException
    import java.util.zip.Deflater
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.DeflaterSink
    
    private val EMPTY_DEFLATE_BLOCK = "000000ffff".decodeHex()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top