- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 247 for okio (0.02 sec)
-
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 { return delegate }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
import okhttp3.internal.http1.Http1ExchangeCodec import okhttp3.internal.platform.Platform import okhttp3.internal.tls.OkHostnameVerifier import okhttp3.internal.toHostHeader import okio.BufferedSink import okio.BufferedSource import okio.buffer import okio.sink import okio.source /** * A single attempt to connect to a remote server, including these steps: * * * [TCP handshake][connectSocket]
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
package okhttp3.internal.duplex import java.util.concurrent.BlockingQueue import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.TimeUnit.SECONDS import okhttp3.MediaType import okhttp3.RequestBody import okio.BufferedSink import org.junit.jupiter.api.Assertions.assertTrue /** A duplex request body that keeps the provided sinks so they can be written to later. */ class AsyncRequestBody : RequestBody() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.5K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2.hpackjson import okhttp3.internal.http2.Header import okio.ByteString /** * Representation of an individual case (set of headers and wire format). There are many cases for a * single story. This class is used reflectively with Moshi to parse stories. */ data class Case(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 23 10:26:25 UTC 2023 - 1.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt
import assertk.assertions.isNotNull import assertk.assertions.isNull import okhttp3.HttpUrl.Companion.defaultPort import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import okio.buffer import okio.source import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** Runs the web platform URL tests against Java URL models. */ class WebPlatformUrlTest {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_LONG import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_SHORT import okhttp3.internal.ws.WebSocketProtocol.toggleMask import okio.Buffer import okio.BufferedSource import okio.ByteString /** * An [RFC 6455][rfc_6455]-compatible WebSocket frame reader. * * This class is not thread safe. * * [rfc_6455]: http://tools.ietf.org/html/rfc6455 */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
import okhttp3.Protocol import okhttp3.Request import okhttp3.containers.BasicMockServerTest.Companion.MOCKSERVER_IMAGE import okhttp3.containers.BasicMockServerTest.Companion.trustMockServer import okio.buffer import okio.source import org.junit.jupiter.api.Test import org.mockserver.client.MockServerClient import org.mockserver.configuration.Configuration import org.mockserver.logging.MockServerLogger
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 5.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
import assertk.assertions.startsWith import kotlin.test.assertFailsWith import kotlin.test.fail import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.internal.idn.Punycode import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8 /** * Tests how each code point is encoded and decoded in the context of each URL component. * * This supports [HttpUrlTest]. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt
import androidx.activity.ComponentActivity import okhttp3.Call import okhttp3.Callback import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.Response import okio.IOException class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val client = OkHttpClient()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp-dnsoverhttps/build.gradle.kts
compileOnly(libs.findbugs.jsr305) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.mockwebserver) testImplementation(projects.mockwebserver3Junit5) testImplementation(libs.squareup.okio.fakefilesystem) testImplementation(libs.conscrypt.openjdk) testImplementation(libs.junit) testImplementation(libs.kotlin.test.common) testImplementation(libs.kotlin.test.junit) } mavenPublishing {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 06 05:31:00 UTC 2024 - 932 bytes - Viewed (0)