All Projects → onmyway133 → EasyNetworking

onmyway133 / EasyNetworking

Licence: other
🛰Easy networking with async/await

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to EasyNetworking

do
Simplest way to manage asynchronicity
Stars: ✭ 33 (+22.22%)
Mutual labels:  chain, await
local-data-api
Data API for local, you can write unittest for AWS Aurora Serverless's Data API
Stars: ✭ 99 (+266.67%)
Mutual labels:  mock
ws-promise
A tiny, Promise-based WebSocket protocol allowing request-response usage in ECMAScript
Stars: ✭ 20 (-25.93%)
Mutual labels:  await
gologger
A concurrent, fast queue/service worker based filesystem logging system perfect for servers with concurrent connections
Stars: ✭ 16 (-40.74%)
Mutual labels:  log
ptkdev-logger
🦒 Beautiful Logger for Node.js: the best alternative to the console.log statement
Stars: ✭ 117 (+333.33%)
Mutual labels:  log
cruzdb
Append-only key-value database on a distributed shared-log
Stars: ✭ 47 (+74.07%)
Mutual labels:  log
Abp.Castle.NLog
Abp的NLog日志输出模块。
Stars: ✭ 15 (-44.44%)
Mutual labels:  log
mock-oauth2-server
A scriptable/customizable web server for testing HTTP clients using OAuth2/OpenID Connect or applications with a dependency to a running OAuth2 server (i.e. APIs requiring signed JWTs from a known issuer)
Stars: ✭ 83 (+207.41%)
Mutual labels:  mock
mock
Utilities to help mock behavior, spy on function calls, stub methods, and fake time for tests.
Stars: ✭ 31 (+14.81%)
Mutual labels:  mock
ObviousAwait
🧵 Expressive aliases to ConfigureAwait(true) and ConfigureAwait(false)
Stars: ✭ 55 (+103.7%)
Mutual labels:  await
dva-boot
🌱 使用CRA(create-react-app v2) 构建的react dva 2 脚手架 支持动态路由、接口数据模拟、按功能分层、并且包含诸多实用的小组件
Stars: ✭ 79 (+192.59%)
Mutual labels:  mock
flush-promises
Flush all queued resolved promise handlers
Stars: ✭ 172 (+537.04%)
Mutual labels:  await
ULogViewer
Cross-Platform Universal Log Viewer.
Stars: ✭ 64 (+137.04%)
Mutual labels:  log
unity-async-tweens
Tween Extension to Unity-AsyncRoutines
Stars: ✭ 16 (-40.74%)
Mutual labels:  await
organiser
An organic web framework for organized web servers.
Stars: ✭ 58 (+114.81%)
Mutual labels:  await
Redux
Manage iOS App state with Redux and Async/Await :)
Stars: ✭ 18 (-33.33%)
Mutual labels:  await
admin-antd-vue
Vue3.x + Ant Design Admin template (vite/webpack)
Stars: ✭ 111 (+311.11%)
Mutual labels:  mock
better-mock
Forked from Mockjs, Generate random data & Intercept ajax request. Support miniprogram.
Stars: ✭ 140 (+418.52%)
Mutual labels:  mock
xrm-mock
📚 A fake implementation of the Xrm object model. Written in TypeScript against @types/xrm definitions.
Stars: ✭ 64 (+137.04%)
Mutual labels:  mock
akka-mock-scheduler
A mock Akka scheduler to simplify testing scheduler-dependent code
Stars: ✭ 86 (+218.52%)
Mutual labels:  mock

EasyNetworking

❤️ Support my apps ❤️

❤️❤️😇😍🤘❤️❤️

Description

EasyNetworking is a lightweight networking framework for use with async/await

Features

  • Safe URLRequest builder
  • Polyfill async URLSession APIs
  • Mock
var client = Client(session: .shared)
client.hook.request = {
    Logger.log(request: $0)
}
client.hook.response = { request, response in
    // Perform mock here
    response
}

var request = Request(url: feedUrl)
request.method = .get
request.headers["Content-Type"] = "application/json"

let response = try await client.data(for: request)

Installation

EasyNetworking is also available through Swift Package Manager

.package(url: "https://github.com/onmyway133/EasyNetworking", from: "1.0.0")

Author

Khoa Pham, [email protected]

License

EasyNetworking is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].