- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for options (0.38 sec)
-
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
) { if (data.size != 0L) { lastId = id data.skip(1L) // Leading newline. callback.onEvent(id, type, data.readUtf8()) } } companion object { val options = Options.of( // 0 "\r\n".encodeUtf8(), // 1 "\r".encodeUtf8(), // 2 "\n".encodeUtf8(), // 3 "data: ".encodeUtf8(), // 4
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.3K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.arguments.argument import com.github.ajalt.clikt.parameters.options.default import com.github.ajalt.clikt.parameters.options.flag import com.github.ajalt.clikt.parameters.options.multiple import com.github.ajalt.clikt.parameters.options.option import com.github.ajalt.clikt.parameters.types.int import java.security.cert.X509Certificate import java.util.Properties
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (1) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
} } return result } } private val optionsDelimiter = Options.of( // 0. ".".encodeUtf8(), // 1. " ".encodeUtf8(), // 2. ";".encodeUtf8(), // 3. "#".encodeUtf8(), // 4. "\n".encodeUtf8(), ) private val optionsDot = Options.of( // 0. ".".encodeUtf8(), ) private const val DELIMITER_DOT = 0
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0) -
samples/tlssurvey/build.gradle.kts
implementation(libs.squareup.moshi) implementation(libs.squareup.moshi.kotlin) ksp("com.squareup.moshi:moshi-kotlin-codegen:1.15.1") } tasks.compileJava { options.isWarnings = false
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 08 02:48:17 GMT 2024 - 617 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
@Test fun setValidRequestMethod() { assertMethodForbidsRequestBody("GET") assertMethodPermitsRequestBody("DELETE") assertMethodForbidsRequestBody("HEAD") assertMethodPermitsRequestBody("OPTIONS") assertMethodPermitsRequestBody("POST") assertMethodPermitsRequestBody("PUT") assertMethodPermitsRequestBody("TRACE") assertMethodPermitsRequestBody("PATCH")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
samples/crawler/build.gradle.kts
kotlin("jvm") application } application { mainClass.set("okhttp3.sample.Crawler") } dependencies { implementation(projects.okhttp) implementation(libs.jsoup) } tasks.compileJava { options.isWarnings = false
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Tue Feb 15 23:38:32 GMT 2022 - 234 bytes - Viewed (0) -
samples/compare/build.gradle.kts
testImplementation(libs.httpClient5) testImplementation(libs.jettyClient) testImplementation(libs.junit) testImplementation(libs.assertk) } tasks.compileJava { options.isWarnings = false
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Thu Jan 04 05:32:07 GMT 2024 - 470 bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
/** * ``` * Point ::= SEQUENCE { * x [0] INTEGER OPTIONAL, * y [1] INTEGER OPTIONAL * } * ``` */ data class Point( val x: Long?, val y: Long?, ) { companion object { val ADAPTER = Adapters.sequence( "Point", Adapters.INTEGER_AS_LONG.withTag(tag = 0L).optional(), Adapters.INTEGER_AS_LONG.withTag(tag = 1L).optional(),
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
mockwebserver/README.md
assertEquals("hello, world!", chat.messages()); chat.loadMore(); chat.loadMore(); assertEquals("" + "hello, world!\n" + "sup, bra?\n" + "yo dog", chat.messages()); // Optional: confirm that your app made the HTTP requests you were expecting. RecordedRequest request1 = server.takeRequest(); assertEquals("/v1/chat/messages/", request1.getPath()); assertNotNull(request1.getHeader("Authorization"));
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 5K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
// Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto // option to the native-image command. platform.assumeNotGraalVMImage() val javaNetUrl = URL("mailto:******@****.***") assertThat(javaNetUrl.toHttpUrlOrNull()).isNull() } @Test fun fromUri() {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.9K bytes - Viewed (0)