Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add functions to return the list of headers and their contents #681

Closed
wants to merge 1 commit into from

Commits on Jan 15, 2024

  1. feat: add functions to return the list of headers of a Response

    headers() returns a vec of headers of a Response (doing allocations).
    headers_iter() returns an iterator over the headers of a Response (no
    allocations).
    headers_hashmap() returns a hashmap of headers of a Response (doing
    allocations).
    
    Signed-off-by: Nils Ponsard <[email protected]>
    nponsard committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    d12a893 View commit details
    Browse the repository at this point in the history