Description

Cookie Collection Provides an immutable collection of cookies objects. Adding or removing to a collection returns a *new* collection that you must retain. @template-implements \IteratorAggregate

Properties

Methods

InheritedAbstractFinalStaticDatatypeHeader
addFromResponse(IResponseaddFromResponse(IResponse response, IRequest request)
DTraversableDTraversable getIterator()
DCookieCollectionDCookieCollection createFromServerRequest(IServerRequest request)
ICookieCollectionICookieCollection createFromHeader(string[] headerValues, Json[string] defaultAttributes = null)
size_tsize_t count()
autoauto has(string cookieName)
voidvoid removeExpiredCookies(string hostToCheck, string pathToCheck)
voidvoid checkCookies(ICookie[] cookies)
DCookieCollectionDCookieCollection add(ICookie cookie)
boolbool __isSet(string cookieName)
this(Json[string]this(Json[string] cookies = null)
ICookieICookie get(string cookieName)
IRequestIRequest addToRequest(IRequest request, Json[string] extraCookies = null)
Json[string]Json[string] findMatchingCookies(string hhtpScheme, string hostToMatch, string pathToMatch)
ICookieICookie __get(string cookieName)
removeKey(stringremoveKey(string cookieName)