Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Add CookieBuilder #882

Merged
merged 1 commit into from
Jun 29, 2017
Merged

Add CookieBuilder #882

merged 1 commit into from
Jun 29, 2017

Conversation

natemcmaster
Copy link
Contributor

Addresses #853

cc @HaoK @javiercn

/// <param name="context">The <see cref="HttpContext"/>.</param>
/// <param name="now">The time to use as the base for computing <seealso cref="CookieOptions.Expires" /></param>
/// <returns>The cookie options.</returns>
public virtual CookieOptions Build(HttpContext context, DateTimeOffset now)
Copy link
Member

Choose a reason for hiding this comment

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

Can we call this expiresFrom or something similar instead of now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, that's a little better. Updated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants