OkDownload-OkHttp

A okhttp support for OkDownload

License

License

GroupId

GroupId

com.liulishuo.okdownload
ArtifactId

ArtifactId

okhttp
Last Version

Last Version

1.0.7
Release Date

Release Date

Type

Type

aar
Description

Description

OkDownload-OkHttp
A okhttp support for OkDownload
Project URL

Project URL

https://github.com/lingochamp/okdownload/
Source Code Management

Source Code Management

https://github.com/lingochamp/okdownload/

Download okhttp

How to add to project

<!-- https://jarcasting.com/artifacts/com.liulishuo.okdownload/okhttp/ -->
<dependency>
    <groupId>com.liulishuo.okdownload</groupId>
    <artifactId>okhttp</artifactId>
    <version>1.0.7</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.liulishuo.okdownload/okhttp/
implementation 'com.liulishuo.okdownload:okhttp:1.0.7'
// https://jarcasting.com/artifacts/com.liulishuo.okdownload/okhttp/
implementation ("com.liulishuo.okdownload:okhttp:1.0.7")
'com.liulishuo.okdownload:okhttp:aar:1.0.7'
<dependency org="com.liulishuo.okdownload" name="okhttp" rev="1.0.7">
  <artifact name="okhttp" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.liulishuo.okdownload', module='okhttp', version='1.0.7')
)
libraryDependencies += "com.liulishuo.okdownload" % "okhttp" % "1.0.7"
[com.liulishuo.okdownload/okhttp "1.0.7"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

OkDownload

A Reliable, Flexible, Fast and Powerful download engine.

codecov Download

中文文档


P.S. If you ask me, which version is the most stability, I will tell you it's not the version of 1.0.0 or 2.0.0, the most stability version must be the latest version because it is developed with github-flow, not production-flow. So please follow the latest release version and show me your PR. Here is the changelog for each version, it may help you.

I. WHY CHOOSE

In fact OkDownload is FileDownloader2, which extends all benefits from FileDownloader and beyond. More detail please move to here

II. HOW TO IMPORT

We publish okdownload on jcenter, mavenCentral and Sonatype's snapshots repository, more detail about import OkDownload please move to here

III. HOW TO USE

  • The simple use case such as start and cancel, download queue or get state or task info, please more to here
  • The advanced use case such as set max parallel running count, set remit database delay milliseconds or injection components, please move to here

IV. SAMPLE

Debug

How to Debug

Screenshot

V. LICENSE

Copyright (c) 2017 LingoChamp Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
com.liulishuo.okdownload

LAIX Inc. (formerly LingoChamp Inc.)

We're hiring in Shanghai and Hangzhou.

Versions

Version
1.0.7
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0