Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Openthread | 3,123 | 5 | 1 | 19 hours ago | 6 | November 26, 2020 | 109 | bsd-3-clause | C++ | |
OpenThread released by Google is an open-source implementation of the Thread networking protocol | ||||||||||
Volleyplus | 988 | 2 years ago | 37 | Java | ||||||
🏐 Volley library : make everything faster . Its an improvements for Volley by Google for Android https://android.googlesource.com/platform/frameworks/volley | ||||||||||
Brynet | 904 | a month ago | 26 | mit | C++ | |||||
A Header-Only cross-platform C++ TCP network library . We can use vcpkg(https://github.com/Microsoft/vcpkg/tree/master/ports/brynet) install brynet. | ||||||||||
State Threads | 635 | 4 months ago | 9 | other | C++ | |||||
Lightweight thread library for C/C++ coroutine (similar to goroutine), for high performance network servers. | ||||||||||
Enet Csharp | 599 | 1 | 1 | a year ago | 33 | March 26, 2022 | mit | C | ||
Reliable UDP networking library | ||||||||||
Pmhttp | 508 | 2 years ago | 28 | November 28, 2019 | 16 | other | Swift | |||
Swift/Obj-C HTTP framework with a focus on REST and JSON | ||||||||||
Async Io | 307 | 146 | 2 days ago | 47 | November 27, 2022 | 14 | apache-2.0 | Rust | ||
Async I/O and timers | ||||||||||
Lightio | 164 | 2 | 1 | 2 years ago | 15 | March 01, 2018 | 6 | mit | Ruby | |
LightIO is a userland implemented green thread library for ruby | ||||||||||
Fastclick | 151 | a month ago | 16 | other | C++ | |||||
FastClick - A faster version of the Click Modular Router featuring batching, advanced multi-processing and improved Netmap and DPDK support (ANCS'15). Check the metron branch for Metron specificities (NSDI'18). PacketMill modifications (ASPLOS'21) as well as MiddleClick(ToN, 2021) are merged in main. | ||||||||||
Phoenixsharp | 117 | 9 months ago | 3 | mit | C# | |||||
C# Phoenix Channels client. Unity Compatible. |
VolleyPlus library Project improvements to Volley along with full image caching.It involves using RequestQueue, RequestTickle and Request.
RequestQueue
- Dispatch Queue which takes a Request and executes in a worker thread or if cache found its takes from cache and responds back to the UI main thread.RequestTickle
- A single class which takes a Request and executes in same thread or if cache found its takes from cache and responds back to the same thread. Mainly useful in sync operations where you want to perform operations sequentially.Request
- All network(HTTP) requests are created from this class. It takes main parameters required for a HTTP request like
VolleyPlus Provides variety of implementations of Request.
SimpleMultipartRequest request = new SimpleMultipartRequest(Method.POST, apiUrl, mListener, mErrorListener);
request.addFile("photo", imagePath);
request.addMultipartParam("body", "text/plain", "some text");
RequestQueue mRequestQueue = Volley.newRequestQueue(getApplicationContext());
mRequestQueue.add(request);
mRequestQueue.start();
VolleyPlus has also very powerful image caching SimpleImageLoder.
NewtworkImageView
usage with SimpleImageLoader
RequestQueue
RequestQueue mRequestQueue = Volley.newRequestQueue(getApplicationContext());
StringRequest stringRequest = new StringRequest(Request.Method.GET, url, new Response.Listener<String>() {
@Override
public void onResponse(String response) {
....
}
}, new Response.ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
....
}
});
mRequestQueue.add(stringRequest);
RequestTickle
RequestTickle mRequestTickle = VolleyTickle.newRequestTickle(getApplicationContext());
StringRequest stringRequest = new StringRequest(Request.Method.GET, url, null, null);
mRequestTickle.add(stringRequest);
NetworkResponse response = mRequestTickle.start();
if (response.statusCode == 200) {
String data = VolleyTickle.parseResponse(response);
....
}
else{
....
}
SimpleImageLoader
ImageCacheParams cacheParams = new ImageCacheParams(getApplicationContext(), "CacheDirectory");
cacheParams.setMemCacheSizePercent(0.5f);
SimpleImageLoader mImageFetcher = new SimpleImageLoader(getApplicationContext(), R.drawable.holder_image, cacheParams);
mImageFetcher.setMaxImageSize(300);
....
mImageFetcher.get(url, image_view);
OR
network_image_view.setImageUrl(url, mImageFetcher);
network_image_view.setDefaultImageResId(R.drawable.holder_image);
Volley is available as an AAR, so you just need to add the following dependency to your build.gradle
.
buildscript {
repositories {
jcenter()
}
}
...
dependencies {
compile 'dev.dworks.libs:volleyplus:+'
}
...
Copyright 2017 Hari Krishna Dulipudi
Copyright (C) 2011 The Android Open Source Project
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.