Skip to content

Commit

Permalink
http-context add 'SetCookie' method
Browse files Browse the repository at this point in the history
  • Loading branch information
Dot-Liu committed Feb 8, 2025
1 parent c793bbd commit 965df67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eocontext/http-context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ type IHeaderReader interface {
Headers() http.Header
Host() string
GetCookie(key string) string
SetCookie(key string, value string, maxAge int)
}

type IHeaderWriter interface {
Expand Down

0 comments on commit 965df67

Please sign in to comment.