- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for buses (0.13 sec)
-
android-test-app/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="okhttp.android.testapp"> <uses-permission android:name="android.permission.INTERNET" /> <application android:allowBackup="true" android:label="@string/app_name" android:supportsRtl="true" android:name=".TestApplication" > <activity android:name=".MainActivity"
XML - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Dec 23 14:46:51 GMT 2023 - 683 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dns.kt
*/ @Throws(UnknownHostException::class) fun lookup(hostname: String): List<InetAddress> companion object { /** * A DNS that uses [InetAddress.getAllByName] to ask the underlying operating system to * lookup IP addresses. Most custom [Dns] implementations should delegate to this instance. */ @JvmField val SYSTEM: Dns = DnsSystem()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0) -
mockwebserver/README.md
assertEquals("application/json; charset=utf-8", request.getHeader("Content-Type")); assertEquals("{}", request.getBody().readUtf8()); ``` #### Dispatcher By default MockWebServer uses a queue to specify a series of responses. Use a Dispatcher (`import okhttp3.mockwebserver.Dispatcher`) to handle requests using another policy. One natural policy is to dispatch on the request path.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/Authenticator.kt
private class AuthenticatorNone : Authenticator { override fun authenticate( route: Route?, response: Response, ): Request? = null } /** An authenticator that uses the java.net.Authenticator global authenticator. */ @JvmField val JAVA_NET_AUTHENTICATOR: Authenticator = JavaNetAuthenticator() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.5K bytes - Viewed (0) -
docs/features/events.md
This [sample factory](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java) creates a unique ID for each call and uses that ID to differentiate calls in log messages. ```java class PrintingEventListener extends EventListener { public static final Factory FACTORY = new Factory() { final AtomicLong nextCallId = new AtomicLong(1L);
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 7.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
} assertThat(server.requestCount).isEqualTo(0) // Confirm that the connection pool was not corrupted by making another call. This doesn't use // makeSimpleCall() because it uses the MockResponse enqueued above. val callB = client.newCall(Request(server.url("/"))) callB.execute().use { response -> assertThat(response.body.string()).isEqualTo("abc") } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.5K bytes - Viewed (0) -
regression-test/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="okhttp.android.regression"> <uses-permission android:name="android.permission.INTERNET" /> <!-- For HttpEngine --> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
XML - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Mar 23 11:14:34 GMT 2024 - 291 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt
} } else if (statusLine.startsWith("ICY ")) { // Shoutcast uses ICY instead of "HTTP/1.0". protocol = Protocol.HTTP_1_0 codeStart = 4 } else if (statusLine.startsWith("SOURCETABLE ")) { // NTRIP r1 uses SOURCETABLE instead of HTTP/1.1 protocol = Protocol.HTTP_1_1 codeStart = 12 } else {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 3.3K bytes - Viewed (0) -
docs/features/r8_proguard.md
R8 / ProGuard ============= If you use OkHttp as a dependency in an Android project which uses R8 as a default compiler you don't have to do anything. The specific rules are [already bundled][okhttp3_pro] into the JAR which can be interpreted by R8 automatically. If you, however, don't use R8 you have to apply the rules from [this file][okhttp3_pro]. You might also need rules from [Okio][okio] which is a dependency of this library.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 607 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt
if (!other.isSet(i)) continue set(i, other[i]) } } companion object { /** * From the HTTP/2 specs, the default initial window size for all streams is 64 KiB. (Chrome 25 * uses 10 MiB). */ const val DEFAULT_INITIAL_WINDOW_SIZE = 65535 /** HTTP/2: Size in bytes of the table used to decode the sender's header blocks. */ const val HEADER_TABLE_SIZE = 1
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.8K bytes - Viewed (0)