Skip to content

Add Link header pagination helpers#100

Merged
pietbrauer merged 3 commits into
mainfrom
feature/pagination-support
May 14, 2026
Merged

Add Link header pagination helpers#100
pietbrauer merged 3 commits into
mainfrom
feature/pagination-support

Conversation

@pietbrauer
Copy link
Copy Markdown
Member

Adds PageInfo (parses RFC 5988 Link headers into next/prev/first/last URLs) and PaginatedResponse structs, plus loadPaginated() on Router with callback and async/await variants. Enables callers to detect and navigate multi-page API responses without manual Link header parsing.

@pietbrauer pietbrauer force-pushed the feature/pagination-support branch 2 times, most recently from 086842b to b5c3e1b Compare May 14, 2026 13:10
pietbrauer and others added 3 commits May 14, 2026 15:31
Adds PageInfo (parses RFC 5988 Link headers into next/prev/first/last
URLs) and PaginatedResponse<T> structs, plus loadPaginated() on Router
with callback and async/await variants. Enables callers to detect and
navigate multi-page API responses without manual Link header parsing.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pietbrauer pietbrauer force-pushed the feature/pagination-support branch from 7b7777f to 8ab6507 Compare May 14, 2026 13:32
@pietbrauer pietbrauer merged commit 9d45c9a into main May 14, 2026
6 checks passed
@pietbrauer pietbrauer deleted the feature/pagination-support branch May 14, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant