https://github.com/harborclient/plugin-interval
Adds a Timer tab to the request editor for interval polling and one-shot delayed sends.
https://github.com/harborclient/plugin-interval
Last synced: 9 days ago
JSON representation
Adds a Timer tab to the request editor for interval polling and one-shot delayed sends.
- Host: GitHub
- URL: https://github.com/harborclient/plugin-interval
- Owner: harborclient
- Created: 2026-06-25T12:53:31.000Z (11 days ago)
- Default Branch: main
- Last Pushed: 2026-06-25T17:04:13.000Z (11 days ago)
- Last Synced: 2026-06-25T18:23:11.428Z (11 days ago)
- Language: TypeScript
- Size: 230 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HarborClient Request Timer Plugin
Adds a **Timer** tab to the request editor for interval polling and one-shot delayed sends. Form fields support `{{variables}}` resolved from collection and environment variables.
Use the timer plugin to re-send requests at regular intervals or after a delay. For instance, to refresh authentication tokens or check for new data.
## Install
```bash
pnpm install
pnpm build
```
In HarborClient: **Settings → Plugins → Load unpacked…** and select this directory.
Requires HarborClient **>=1.8.0** with `hc.host.sendRequest` (`@harborclient/sdk` **>=0.4.3**).
## Development
```bash
pnpm dev
```
## Modes
| Mode | Behavior |
| -------- | ------------------------------------------- |
| Interval | Resend every _N_ milliseconds until stopped |
| Delay | Send once after _N_ milliseconds (one-shot) |
Optional **max sends** caps interval runs. Settings are persisted per request URL/method fingerprint.
## License
MIT