- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 77 for Id (0.14 sec)
-
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() {
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/URLConnectionTest.kt
* Test a bug where gzip input streams weren't exhausting the input stream, which corrupted the * request that followed or prevented connection reuse. http://code.google.com/p/android/issues/detail?id=7059 * http://code.google.com/p/android/issues/detail?id=38817 */ private fun testClientConfiguredGzipContentEncodingAndConnectionReuse( transferKind: TransferKind, tls: Boolean, ) { if (tls) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt
values.fill(0) } operator fun set( id: Int, value: Int, ): Settings { if (id < 0 || id >= values.size) { return this // Discard unknown settings. } val bit = 1 shl id set = set or bit values[id] = value return this } /** Returns true if a value has been assigned for the setting `id`. */ fun isSet(id: Int): Boolean { val bit = 1 shl id
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) -
okcurl/build.gradle.kts
import com.vanniktech.maven.publish.JavadocJar import com.vanniktech.maven.publish.KotlinJvm import org.apache.tools.ant.taskdefs.condition.Os plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("com.palantir.graal") id("com.github.johnrengelman.shadow") } val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") { from("src/main/resources-templates")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.8K bytes - Viewed (1) -
okhttp-sse/build.gradle.kts
import com.vanniktech.maven.publish.JavadocJar import com.vanniktech.maven.publish.KotlinJvm plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.sse", "Automatic-Module-Name: okhttp3.sse", "Bundle-SymbolicName: com.squareup.okhttp3.sse" ) dependencies { api(projects.okhttp)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 04 05:32:07 GMT 2024 - 754 bytes - Viewed (1) -
okhttp-brotli/build.gradle.kts
import com.vanniktech.maven.publish.JavadocJar import com.vanniktech.maven.publish.KotlinJvm plugins { kotlin("jvm") id("org.jetbrains.dokka") id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.brotli", "Automatic-Module-Name: okhttp3.brotli", "Bundle-SymbolicName: com.squareup.okhttp3.brotli" ) dependencies { api(projects.okhttp)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 06 05:31:00 GMT 2024 - 819 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
@Test fun `parse multipart`() { val multipart = """ |--simple boundary |Content-Type: text/plain; charset=utf-8 |Content-ID: abc | |abcd |efgh |--simple boundary |Content-Type: text/plain; charset=utf-8 |Content-ID: ijk | |ijkl |mnop | |--simple boundary-- """.trimMargin() .replace("\n", "\r\n")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.8K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSession.java
public final String user_id; public final String team_name; public final String team_id; public OAuthSession( boolean ok, String accessToken, String scope, String userId, String teamName, String teamId) { this.ok = ok; this.access_token = accessToken; this.scope = scope; this.user_id = userId; this.team_name = teamName; this.team_id = teamId; }
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Oct 23 15:24:22 GMT 2016 - 1.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
import okhttp3.RequestBody; import okhttp3.Response; public final class PostMultipart { /** * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running * these examples, please request your own client ID! https://api.imgur.com/oauth2 */ private static final String IMGUR_CLIENT_ID = "9199fdef135c122"; private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jun 24 12:59:42 GMT 2019 - 2.2K bytes - Viewed (0) -
okhttp-idna-mapping-table/build.gradle.kts
plugins { kotlin("jvm") id("ru.vyarus.animalsniffer") } dependencies { api(libs.squareup.okio) api(libs.squareup.kotlinPoet) testImplementation(libs.assertk) testImplementation(libs.junit.jupiter.api) testImplementation(libs.junit.jupiter.params) } animalsniffer { isIgnoreFailures = true
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue May 02 11:21:58 GMT 2023 - 309 bytes - Viewed (0)