Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.buildscript/ | 03-May-2024 | - | 37 | 26 | ||
android/src/ | 03-May-2024 | - | 1,584 | 823 | ||
benchmarks/ | 03-May-2024 | - | 1,043 | 746 | ||
mockwebserver/ | 03-May-2024 | - | 2,896 | 1,961 | ||
okcurl/ | 03-May-2024 | - | 499 | 400 | ||
okhttp/ | 03-May-2024 | - | 20,302 | 12,534 | ||
okhttp-android-support/ | 03-May-2024 | - | 4,836 | 3,549 | ||
okhttp-android-util-log/src/main/java/android/util/ | 03-May-2024 | - | 27 | 5 | ||
okhttp-apache/ | 03-May-2024 | - | 600 | 486 | ||
okhttp-hpacktests/ | 03-May-2024 | - | 510 | 302 | ||
okhttp-logging-interceptor/ | 03-May-2024 | - | 956 | 730 | ||
okhttp-testing-support/ | 03-May-2024 | - | 265 | 178 | ||
okhttp-tests/ | 03-May-2024 | - | 25,333 | 19,579 | ||
okhttp-urlconnection/ | 03-May-2024 | - | 3,444 | 2,562 | ||
okhttp-ws/ | 03-May-2024 | - | 1,298 | 821 | ||
okhttp-ws-tests/ | 03-May-2024 | - | 2,617 | 2,182 | ||
okio/ | 03-May-2024 | - | 10,968 | 7,467 | ||
repackaged/ | 03-May-2024 | - | 28,939 | 17,461 | ||
samples/ | 03-May-2024 | - | 2,111 | 1,415 | ||
srcgen/ | 03-May-2024 | - | 261 | 234 | ||
website/ | 03-May-2024 | - | 540 | 467 | ||
.gitignore | D | 03-May-2024 | 150 | 25 | 19 | |
.travis.yml | D | 03-May-2024 | 616 | 27 | 19 | |
Android.bp | D | 03-May-2024 | 7.9 KiB | 248 | 225 | |
BUG-BOUNTY.md | D | 03-May-2024 | 364 | 11 | 7 | |
CHANGELOG.md | D | 03-May-2024 | 32.9 KiB | 818 | 629 | |
CONTRIBUTING.md | D | 03-May-2024 | 732 | 18 | 12 | |
LICENSE.txt | D | 03-May-2024 | 11.1 KiB | 203 | 169 | |
METADATA | D | 03-May-2024 | 39 | 4 | 3 | |
MODULE_LICENSE_APACHE2 | D | 03-May-2024 | 0 | |||
OWNERS | D | 03-May-2024 | 77 | 4 | 3 | |
PREUPLOAD.cfg | D | 03-May-2024 | 29 | 3 | 2 | |
README.android | D | 03-May-2024 | 1 KiB | 24 | 19 | |
README.md | D | 03-May-2024 | 1.9 KiB | 71 | 52 | |
checkstyle.xml | D | 03-May-2024 | 4.7 KiB | 136 | 68 | |
deploy_website.sh | D | 03-May-2024 | 684 | 37 | 15 | |
pom.xml | D | 03-May-2024 | 9.2 KiB | 295 | 261 |
README.android
1URL: https://github.com/square/okhttp 2License: Apache 2 3Description: "OkHttp: An HTTP+SPDY client for Android and Java applications." 4 5Local patches 6------------- 7 8Addition of classes in android/ : 9 - com.squareup.okhttp.internal.Platform - to replace the Platform class that 10 comes with okhttp. Avoids use of reflection where possible. 11 - com.squareup.okhttp.Http(s)Handler - integration with Android's corelibs. 12 - com.squareup.okhttp.ConfigAwareConnectionPool - support for a 13 ConnectionPool that listens for network configuration changes. 14 - com.squareup.okhttp.internal.Version - a hand-crafted version of 15 okhttp/src/main/java-templates/com/squareup/okhttp/internal/Version.java 16 for Android. 17 18All source changes (besides imports) marked with ANDROID-BEGIN and ANDROID-END: 19 - Commenting of code that references APIs not present on Android. 20 - @Ignore or comment out tests for functionality not supported on Android. 21 22okio/ contains a snapshot of the Okio project. See okio/README.android for 23details. 24
README.md
1OkHttp 2====== 3 4An HTTP & SPDY client for Android and Java applications. For more information see [the website][1] and [the wiki][2]. 5 6Download 7-------- 8 9Download [the latest JAR][3] or grab via Maven: 10```xml 11<dependency> 12 <groupId>com.squareup.okhttp</groupId> 13 <artifactId>okhttp</artifactId> 14 <version>2.6.0</version> 15</dependency> 16``` 17or Gradle: 18```groovy 19compile 'com.squareup.okhttp:okhttp:2.6.0' 20``` 21 22Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. 23 24 25MockWebServer 26------------- 27 28A library for testing HTTP, HTTPS, HTTP/2.0, and SPDY clients. 29 30MockWebServer coupling with OkHttp is essential for proper testing of SPDY and HTTP/2.0 so that code can be shared. 31 32### Download 33 34Download [the latest JAR][4] or grab via Maven: 35```xml 36<dependency> 37 <groupId>com.squareup.okhttp</groupId> 38 <artifactId>mockwebserver</artifactId> 39 <version>2.6.0</version> 40 <scope>test</scope> 41</dependency> 42``` 43or Gradle: 44```groovy 45testCompile 'com.squareup.okhttp:mockwebserver:2.6.0' 46``` 47 48 49 50License 51------- 52 53 Licensed under the Apache License, Version 2.0 (the "License"); 54 you may not use this file except in compliance with the License. 55 You may obtain a copy of the License at 56 57 http://www.apache.org/licenses/LICENSE-2.0 58 59 Unless required by applicable law or agreed to in writing, software 60 distributed under the License is distributed on an "AS IS" BASIS, 61 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 62 See the License for the specific language governing permissions and 63 limitations under the License. 64 65 66 [1]: http://square.github.io/okhttp 67 [2]: https://github.com/square/okhttp/wiki 68 [3]: https://search.maven.org/remote_content?g=com.squareup.okhttp&a=okhttp&v=LATEST 69 [4]: https://search.maven.org/remote_content?g=com.squareup.okhttp&a=mockwebserver&v=LATEST 70 [snap]: https://oss.sonatype.org/content/repositories/snapshots/ 71