- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 102 for Wain (0.14 sec)
-
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
private val prefix = if (File("samples").exists()) "" else "../../" private fun mainFiles(): List<File> { val directories = listOf( "$prefix/samples/guide/src/main/java/okhttp3/guide", "$prefix/samples/guide/src/main/java/okhttp3/recipes", "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt" ).map { File(it) } return directories.flatMap { it.listFiles().orEmpty().filter { f -> f.isFile }.toList() } }
Plain Text - Registered: 2023-12-01 11:42 - Last Modified: 2020-11-21 13:28 - 2.7K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt
) /** * Run periodically to refresh the known set of working tests. * * TODO use filtering to allow skipping acceptable problem tests */ fun main() { val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt") val testSelector = DiscoverySelectors.selectPackage("okhttp3") val testClasses = findTests(listOf(testSelector)) .filter { it.isContainer }
Plain Text - Registered: 2023-12-01 11:42 - Last Modified: 2020-11-03 19:56 - 1.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
System.out.println("CLOSE: " + code + " " + reason); } @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) { t.printStackTrace(); } public static void main(String... args) { new WebSocketEcho().run(); }
Java - Registered: 2023-12-01 11:42 - Last Modified: 2019-06-24 12:59 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
Plain Text - Registered: 2023-12-01 11:42 - Last Modified: 2022-04-02 17:17 - 1.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt
Plain Text - Registered: 2023-12-01 11:42 - Last Modified: 2022-04-04 13:44 - 1.8K bytes - Viewed (0) -
README.md
[changelog]: https://square.github.io/okhttp/changelog/ [conscrypt]: https://github.com/google/conscrypt/ [get_example]: https://raw.github.com/square/okhttp/master/samples/guide/src/main/java/okhttp3/guide/GetExample.java [kotlin]: https://kotlinlang.org/ [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/src/jvmMain/resources/META-INF/proguard/okhttp3.pro
Plain Text - Registered: 2023-12-01 11:42 - Last Modified: 2023-05-01 10:27 - 6.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PreemptiveAuth().run(); } static final class BasicAuthInterceptor implements Interceptor { private final String credentials; private final String host;
Java - Registered: 2023-12-01 11:42 - Last Modified: 2018-11-05 07:46 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt
println(response.body.string()) } } companion object { val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType() } } fun main() { PostStreaming().run()
Plain Text - Registered: 2023-12-01 11:42 - Last Modified: 2022-04-04 13:44 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
System.out.println("Response 2 network response: " + response2.networkResponse()); } System.out.println("Response 2 equals Response 1? " + response1Body.equals(response2Body)); } public static void main(String... args) throws Exception { new CacheResponse(new File("CacheResponse.tmp")).run(); }
Java - Registered: 2023-12-01 11:42 - Last Modified: 2016-05-22 01:29 - 2.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
} catch (IOException e) { System.out.printf("%.2f Call failed as expected: %s%n", (System.nanoTime() - startNanos) / 1e9f, e); } } public static void main(String... args) throws Exception { new CancelCall().run(); }
Java - Registered: 2023-12-01 11:42 - Last Modified: 2019-01-12 03:31 - 2.1K bytes - Viewed (0)