From 965df67a8f165de94ee4e325c8008d40e5987a3f Mon Sep 17 00:00:00 2001 From: Liujian <824010343@qq.com> Date: Sat, 8 Feb 2025 15:03:59 +0800 Subject: [PATCH] http-context add 'SetCookie' method --- eocontext/http-context/context.go | 1 + 1 file changed, 1 insertion(+) diff --git a/eocontext/http-context/context.go b/eocontext/http-context/context.go index efea007..aba4ff2 100644 --- a/eocontext/http-context/context.go +++ b/eocontext/http-context/context.go @@ -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 {