Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 243 for Okio (0.05 sec)

  1. okcurl/build.gradle.kts

      sourceSets {
        val main by getting {
          resources.srcDir(copyResourcesTemplates.get().outputs)
        }
      }
    }
    
    dependencies {
      api(projects.okhttp)
      api(projects.loggingInterceptor)
      api(libs.squareup.okio)
      implementation(libs.clikt)
    
      testApi(libs.assertk)
      testImplementation(kotlin("test"))
    }
    
    configure<AnimalSnifferExtension> {
      isIgnoreFailures = true
    }
    
    tasks.jar {
      manifest {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

    import java.security.Security
    import okhttp3.Cache
    import okhttp3.OkHttpClient
    import okhttp3.survey.ssllabs.SslLabsClient
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.conscrypt.Conscrypt
    
    @Suppress("ktlint:standard:property-naming")
    suspend fun main() {
      val includeConscrypt = false
    
      val client =
        OkHttpClient
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import kotlin.math.abs
    import okio.ByteString
    
    internal sealed interface MappedRange {
      val rangeStart: Int
    
      data class Constant(
        override val rangeStart: Int,
        val type: Int,
      ) : MappedRange {
        val b1: Int
          get() =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.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.IOException
    
    /**
     * Returns the trailers that follow an HTTP response, blocking if they aren't ready yet.
     * Implementations of this interface should respond to [Call.cancel] by immediately throwing an
     * [IOException].
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.io.EOFException
    import okio.BufferedSource
    
    /**
     * Returns true if the body in question probably contains human-readable text. Uses a small
     * sample of code points to detect Unicode control characters commonly used in binary file
     * signatures.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 22:47:06 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

    import okhttp3.internal.http2.Http2.FLAG_PRIORITY
    import okhttp3.internal.http2.Http2.TYPE_GOAWAY
    import okio.Buffer
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.GzipSink
    import okio.buffer
    import org.junit.jupiter.api.Test
    
    class Http2Test {
      val frame = Buffer()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  7. README.md

    then apps are responsible for calling `OkHttp.initialize(applicationContext)` in `Application.onCreate`.
    
    OkHttp depends on [Okio][okio] for high-performance I/O and the [Kotlin standard library][kotlin]. Both are small libraries with strong backward-compatibility.
    
    We highly recommend you keep OkHttp up-to-date. As with auto-updating web browsers, staying current
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTestData.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import okhttp3.internal.format
    import okio.Buffer
    import okio.BufferedSource
    
    /**
     * A test from the [Web Platform URL test suite](https://github.com/web-platform-tests/wpt/blob/master/url/resources/urltestdata.json).
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

    import java.net.ProtocolException
    import mockwebserver3.RecordedRequest
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okio.ByteString
    
    internal fun RecordedRequest(
      requestLine: RequestLine,
      headers: Headers,
      chunkSizes: List<Int>?,
      bodySize: Long,
      body: ByteString?,
      connectionIndex: Int,
      exchangeIndex: Int,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

    import okhttp3.CallEvent.SecureConnectStart
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.duplex.AsyncRequestBody
    import okhttp3.testing.PlatformRule
    import okio.BufferedSink
    import okio.IOException
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top