- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for create$default (0.19 sec)
-
okhttp/api/okhttp.api
public static synthetic fun create$default (Lokhttp3/RequestBody$Companion;Ljava/io/File;Lokhttp3/MediaType;ILjava/lang/Object;)Lokhttp3/RequestBody; public static synthetic fun create$default (Lokhttp3/RequestBody$Companion;Ljava/io/FileDescriptor;Lokhttp3/MediaType;ILjava/lang/Object;)Lokhttp3/RequestBody;
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt
/** * Apache HttpClient 5.x. * * https://hc.apache.org/httpcomponents-client-5.0.x/index.html */ @RunWith(AndroidJUnit4::class) class ApacheHttpClientTest { private var httpClient = HttpClients.createDefault() @After fun tearDown() { httpClient.close() } @Test fun get() { val request = HttpGet("https://google.com/robots.txt") httpClient.execute(request).use { response ->
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.5K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
* * Baseline test if we ned to validate OkHttp behaviour against other popular clients. */ class ApacheHttpClientTest { private val httpClient = HttpClients.createDefault() @AfterEach fun tearDown() { httpClient.close() } @Test fun get(server: MockWebServer) { server.enqueue( MockResponse.Builder() .body("hello, Apache HttpClient 5.x")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.1K bytes - Viewed (0)