vweb: add path and domain fields to the Cookie struct

pull/10450/head
bettafish 2021-06-13 23:23:11 +02:00
parent 8082261278
commit 90fea290ba
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ pub struct Cookie {
name string
value string
expires time.Time
path ?string
domain ?string
secure bool
http_only bool
}