6 repository-uri
Pluggable components for transforming network call execution.
Distinguishing note: Focuses on the execution pattern adaptation.
Explore 6 awesome GitHub repositories matching web development · Network Request Adapters. Refine with filters or upvote what's useful.
Axios is an isomorphic, promise-based HTTP client designed for making asynchronous network requests across different JavaScript execution environments, including the browser and Node.js. It functions as a JSON API client that serializes JavaScript objects into JSON and parses server responses into structured data. The project features a system for managing reusable client instances with shared configurations, such as base URLs and default settings. It includes a mechanism for intercepting outgoing requests and incoming responses globally, allowing data to be transformed before it reaches the
Utilizes an adapter-based abstraction to maintain a consistent API across browser and Node.js runtimes.
Retrofit is a type-safe HTTP client that simplifies network communication by allowing developers to define API endpoints as interface methods. By using annotation-driven request mapping, it automatically translates these interface definitions into structured HTTP requests, ensuring consistent data structures and reducing manual configuration when interacting with remote web services. The project distinguishes itself through a highly modular architecture that separates network transport from data handling. It utilizes dynamic proxy generation to process method calls at runtime and offers a plu
Adapts network calls into custom asynchronous execution patterns.
MSW is a JavaScript API mocking library and integration testing tool designed to intercept network requests at the network level. It allows for the definition of mock data and status codes using routing syntax to simulate server responses without requiring changes to the application source code. The project utilizes a service worker to proxy API calls in the browser, providing a mechanism for isolated frontend development and testing. It employs platform-specific network adapters to maintain a consistent mocking interface across both browser and Node.js environments. The library covers a ran
Abstracts the underlying network layer to provide a consistent mocking interface across browser and Node.js environments.
Soybean Admin is a type-safe frontend management boilerplate and dashboard template built with Vue 3, Vite, and TypeScript. It provides a pre-configured foundation for creating enterprise administrative interfaces, utilizing the NaiveUI component framework and UnoCSS for utility-first styling. The project distinguishes itself through automated workflow tools, including file-system-based route generation and a command-line interface for automating git commits and project deployments. It implements a comprehensive security model featuring both static and dynamic role-based access control to res
Implements a network request adapter for data transformation and support for promise and hook patterns.
Dio is a cross-platform HTTP client for Dart designed to manage network requests and data communication across mobile and desktop applications. It provides a comprehensive framework for executing standard web operations while handling complex tasks such as request lifecycles, connection security, and global configuration. The library distinguishes itself through an extensible architecture that allows developers to hook into the request and response pipeline. By utilizing interceptors and custom network adapters, users can modify traffic, perform authentication, and swap underlying networking
Decouples high-level request logic from platform-specific networking implementations through pluggable adapters.
Această bibliotecă oferă un utilitar pentru interceptarea și simularea cererilor HTTP în ecosistemul Axios. Funcționează ca un interceptor de cereri HTTP care permite dezvoltatorilor să definească răspunsuri mock pentru traficul de rețea de ieșire, permițând testarea integrării frontend și dezvoltarea fără a necesita infrastructură backend live. Instrumentul se distinge prin oferirea unui control granular asupra ciclului de viață al cererii, inclusiv capacitatea de a potrivi modele specifice de cereri și de a redirecționa traficul nepotrivit către destinații reale. Suportă simularea mediilor de rețea instabile prin injectarea de latență artificială, timeout-uri și erori de conexiune, ceea ce ajută la verificarea rezilienței aplicației în condiții variabile. Dincolo de simularea răspunsurilor, biblioteca include capabilități pentru urmărirea și verificarea istoricului cererilor. Acest lucru permite dezvoltatorilor să inspecteze parametrii, headerele și frecvența apelurilor de ieșire pentru a se asigura că logica aplicației interacționează cu serviciile externe conform așteptărilor. Biblioteca este concepută pentru utilizare atât în medii de browser, cât și în Node.
Hooks into the request lifecycle by replacing the default network transport layer with a custom handler function.