Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 243 for Okio (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheRequest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.cache
    
    import java.io.IOException
    import okio.Sink
    
    interface CacheRequest {
      @Throws(IOException::class)
      fun body(): Sink
    
      fun abort()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 769 bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

    import okhttp3.tls.internal.der.ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION
    import okhttp3.tls.internal.der.ObjectIdentifiers.SUBJECT_ALTERNATIVE_NAME
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    internal class DerTest {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

    import okhttp3.Call
    import okhttp3.Connection
    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.testing.PlatformRule
    import okio.IOException
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Tag("Slowish")
    class SocketFailureTest {
      @RegisterExtension
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixList.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import okio.ByteString
    
    /**
     * An implementation of I/O for `PublicSuffixDatabase` by directly passing in ByteStrings.
     */
    internal class ConfiguredPublicSuffixList : PublicSuffixList {
      override fun ensureLoaded() {
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 978 bytes
    - Viewed (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.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.survey.types
    
    import okio.ByteString
    
    data class SuiteId(
      val id: ByteString?,
      val name: String,
    ) {
      fun matches(suiteId: SuiteId): Boolean = id == suiteId.id || name.substring(4) == suiteId.name.substring(4)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 834 bytes
    - Viewed (0)
  6. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 929 bytes
    - Viewed (0)
  7. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

    import java.util.concurrent.ExecutionException
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import kotlin.coroutines.cancellation.CancellationException
    import okio.Buffer
    import org.junit.After
    import org.junit.Assert.assertEquals
    import org.junit.Assert.assertTrue
    import org.junit.Test
    import org.junit.runner.RunWith
    
    /**
     * Android HttpEngine.
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. okhttp-testing-support/build.gradle.kts

    import org.gradle.internal.os.OperatingSystem
    plugins {
      kotlin("jvm")
      id("ru.vyarus.animalsniffer")
    }
    
    dependencies {
      api(libs.squareup.okio)
      api(projects.mockwebserver3)
      "friendsApi"(projects.okhttp)
      api(projects.okhttpTls)
      api(libs.assertk)
      api(libs.bouncycastle.bcprov)
      implementation(libs.bouncycastle.bcpkix)
      implementation(libs.bouncycastle.bctls)
      api(libs.conscrypt.openjdk)
      api(libs.openjsse)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 1.2K bytes
    - Viewed (1)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.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
    
    import okio.BufferedSource
    
    open class ForwardingResponseBody(
      delegate: ResponseBody?,
    ) : ResponseBody() {
      private val delegate: ResponseBody
    
      fun delegate(): ResponseBody = delegate
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

     * limitations under the License.
     *
     */
    package okhttp3.internal.http
    
    import java.net.ProtocolException
    import okhttp3.Protocol
    import okhttp3.Response
    import okio.IOException
    
    /** An HTTP response status line like "HTTP/1.1 200 OK". */
    class StatusLine(
      @JvmField val protocol: Protocol,
      @JvmField val code: Int,
      @JvmField val message: String,
    ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top