Skip to content

Commit

Permalink
Solve a timout issue
Browse files Browse the repository at this point in the history
You can easily extend time of connection timout using .setConnectionTimeout() method...!!
  • Loading branch information
developerakshaym021 authored Nov 7, 2020
1 parent cf58f8c commit c34f341
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add it in your root build.gradle at the end of repositories: "# ApiCall"


dependencies {
implementation 'com.github.developerakshaym021:Android-ApiCallMaster:v1.1.1'
implementation 'com.github.developerakshaym021:Android-ApiCallMaster:v1.1.2'
}


Expand All @@ -36,6 +36,7 @@ Step 3. How use "# ApiCall"
.isShowProgressBar(true)
.setUrl("BaseUrl")
.setParam(getParam())
.setConnectionTimout(TimoutInSeconds) // Now You can also extend a connection timout time...!!
.execute(new ApiCallBuilder.onResponse() {
@Override
public void Success(String response) {
Expand Down

0 comments on commit c34f341

Please sign in to comment.