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

add GuardContext::header #2569

Merged
merged 3 commits into from
Jan 5, 2022
Merged

add GuardContext::header #2569

merged 3 commits into from
Jan 5, 2022

Conversation

robjtede
Copy link
Member

@robjtede robjtede commented Jan 5, 2022

PR Type

Feature

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

Add method for Guards to extract typed headers.

@robjtede robjtede added A-web project: actix-web B-semver-minor labels Jan 5, 2022
@robjtede robjtede added this to the actix-web v4 milestone Jan 5, 2022
@robjtede robjtede marked this pull request as ready for review January 5, 2022 05:14
@robjtede robjtede changed the title add GuardContext::header add GuardContext::header Jan 5, 2022
@robjtede robjtede merged commit 4ebf168 into master Jan 5, 2022
@robjtede robjtede deleted the guard-header branch January 5, 2022 11:47
@aliemjay
Copy link
Member

aliemjay commented Jan 5, 2022

How about app_data? I think it would be more useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-web project: actix-web B-semver-minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants