Socket devtool plugin for HyperFetch
npm install @hyper-fetch/plugin-devtoolsHyper Fetch DevTools Plugin is an essential bridge between your application and HyperFlow. It enables real-time
streaming of request data, allowing you to monitor, debug, and optimize your application's network operations. This
plugin is the foundation that powers HyperFlow's advanced developer tools, providing the data pipeline needed for
comprehensive request inspection and management.
š® Real-time Data Streaming - Seamless streaming of request data to HyperFlow
šÆ Request Lifecycle Tracking - Complete visibility into request lifecycle events
⨠Performance Metrics Collection - Automatic gathering of timing and performance data
š Queue State Monitoring - Real-time tracking of request queue status
š Cache State Synchronization - Live updates of cache state changes
šŖ Error Tracking - Comprehensive error reporting and debugging information
š Request/Response Interception - Ability to inspect and modify requests and responses
š Offline State Detection - Automatic detection and reporting of offline states
š” WebSocket Connection Management - Specialized handling for WebSocket connections
The DevTools Plugin is designed to work seamlessly with HyperFlow. To get started:
1. Install the plugin:
``bash`
npm install @hyper-fetch/plugin-devtools
2. Add it to your Hyper Fetch client:
`typescript
import { createClient } from "@hyper-fetch/core";
import { DevtoolsPlugin } from "@hyper-fetch/plugin-devtools";
const client = createClient({
url: "https://api.example.com",
}).addPlugin(
DevtoolsPlugin({
// Name displayed in the HyperFlow
appName: "Adjusted App",
}),
);
``
3. Connect to HyperFlow to start receiving real-time data.
- #### Installation
- #### Docs
- #### API
- #### NPM
- #### Guides
- - #### Hyper Fetch
- #### HyperFlow
- #### Hyper Fetch Sockets