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

allow settting/getting cookies #47

Merged
merged 2 commits into from
Dec 19, 2019
Merged

allow settting/getting cookies #47

merged 2 commits into from
Dec 19, 2019

Conversation

yoshuawuyts
Copy link
Member

Allow setting/getting cookies from the request and response. Thanks!

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
/// #
/// # Ok(()) }
/// ```
pub fn cookies(&self) -> Result<Vec<Cookie<'_>>, cookie::ParseError> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll make this an iterator.

Copy link
Collaborator

@rylev rylev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👉🦀

@rylev rylev merged commit 861c836 into master Dec 19, 2019
@delete-merged-branch delete-merged-branch bot deleted the cookies branch December 19, 2019 12:18
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.

None yet

2 participants