Tag

network requests

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Sep 19, 2024 · Backend Development

Using PHP curl_multi_add_handle() to Manage Multiple cURL Handles

This article explains how the PHP curl library’s curl_multi_add_handle() function can combine multiple cURL handles into a single multi‑handle session, provides its syntax and parameters, and demonstrates its usage with a complete example that improves network request efficiency.

PHPbackend developmentcurl
0 likes · 4 min read
Using PHP curl_multi_add_handle() to Manage Multiple cURL Handles
php中文网 Courses
php中文网 Courses
May 8, 2024 · Backend Development

Using curl_multi_add_handle() in PHP to Manage Multiple cURL Handles

This article explains how PHP's curl_multi_add_handle() function can add multiple cURL handles to a single multi‑handle session, enabling efficient simultaneous network requests, with detailed syntax, parameters, and a complete example demonstrating initialization, execution, response retrieval, and cleanup.

PHPbackendcurl
0 likes · 3 min read
Using curl_multi_add_handle() in PHP to Manage Multiple cURL Handles
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 30, 2024 · Mobile Development

Managing Network Requests in Jetpack Compose with Redux‑Style Hooks

This article demonstrates how to use the ComposeHooks library to create Redux‑like global state stores, expose them via ReduxProvider, and handle network request lifecycles—including loading, success, and error—through useSelector, useDispatchAsync, and a custom useFetch helper in Jetpack Compose.

AndroidComposeHooks
0 likes · 9 min read
Managing Network Requests in Jetpack Compose with Redux‑Style Hooks
php中文网 Courses
php中文网 Courses
Mar 13, 2024 · Backend Development

Using curl_multi_close() to Properly Close Multiple cURL Sessions in PHP

This article explains the purpose and proper usage of PHP's curl_multi_close() function, showing how it releases resources allocated by curl_multi_init() through a detailed example that creates, executes, and then cleanly closes multiple cURL sessions.

PHPbackendcurl
0 likes · 3 min read
Using curl_multi_close() to Properly Close Multiple cURL Sessions in PHP
Top Architect
Top Architect
Sep 20, 2023 · Mobile Development

Cross‑Platform Architecture for WeChat Pay: Reducing Code, Improving Quality and Productivity

This article explains how WeChat Pay solved the fragmented iOS/Android implementations by building a C++‑based cross‑platform framework, introducing UseCase‑driven flow abstraction, a unified routing mechanism, disciplined network request handling, and standardized data passing, resulting in up to 45% code reduction and faster feature delivery.

C++Data FlowRouting
0 likes · 17 min read
Cross‑Platform Architecture for WeChat Pay: Reducing Code, Improving Quality and Productivity
Ximalaya Technology Team
Ximalaya Technology Team
Aug 11, 2023 · Mobile Development

Simplifying Android Network Requests with Kotlin Coroutines

By converting Android network calls from callback‑based listeners to Kotlin coroutines, the code becomes sequential, eliminates duplicated UI‑state checks, centralizes loading handling, supports parallel requests with async/await, and integrates with lifecycleScope for automatic cancellation, greatly improving readability and safety.

AndroidAsync ProgrammingKotlin
0 likes · 15 min read
Simplifying Android Network Requests with Kotlin Coroutines
Test Development Learning Exchange
Test Development Learning Exchange
Aug 3, 2023 · Backend Development

Python Coroutine Libraries: asyncio, gevent, and trio - 10 Practical Examples

This article explores three Python coroutine libraries - asyncio, gevent, and trio - providing 10 practical code examples demonstrating their use in asynchronous programming for tasks like IO operations, network requests, file handling, and more.

Asynchronous ProgrammingConcurrent ProgrammingPython
0 likes · 5 min read
Python Coroutine Libraries: asyncio, gevent, and trio - 10 Practical Examples
Hujiang Technology
Hujiang Technology
Jan 18, 2018 · Mobile Development

Understanding Network Requests in React Native: APIs, Debugging Techniques, and Binary Data Transfer

This article explains how React Native handles network requests differently from web browsers, describes the built‑in fetch, XMLHttpRequest, and WebSocket APIs, outlines debugging methods using proxies, Reactotron, and Chrome DevTools, and discusses strategies for sending binary data such as Base64 encoding and WebSocket support.

React NativeWebSocketXMLHttpRequest
0 likes · 10 min read
Understanding Network Requests in React Native: APIs, Debugging Techniques, and Binary Data Transfer