View definition

(*ResponseHeader).VisitAllCookie

Defined in github.com/valyala/fasthttp/header.go

Description

VisitAllCookie calls f for each response cookie.

Cookie name is passed in key and the whole Set-Cookie header value is passed in value on each f invocation. Value may be parsed with Cookie.ParseBytes().

f must not retain references to key and/or value after returning.