pub fn attach_pagination_headers(
resp: &mut HttpResponse,
base_path: &str,
params: PageParams,
total: usize,
)Expand description
Attach X-Total-Count and optional RFC 8288 Link pagination headers to a response.
pub fn attach_pagination_headers(
resp: &mut HttpResponse,
base_path: &str,
params: PageParams,
total: usize,
)Attach X-Total-Count and optional RFC 8288 Link pagination headers to a response.