Skip to content

Consider moving HeaderMap to STL iterators #1851

@akonradi

Description

@akonradi

The Http::HeaderMap interface supports iteration via callback via the iterate() and iterateReverse() methods, each of which takes a function pointer and a context and calls the function for each header in the HeaderMap. Since iterate() and iterateReverse() are implemented using C++ iterators, it might make more sense to expose these externally as it offers calling code more flexibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests. Not bugs or questions.stalestalebot believes this issue/PR has not been touched recently

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions