MCPcopy Create free account
hub / github.com/apache/arrow / IsExpired

Method IsExpired

cpp/src/arrow/flight/cookie_internal.cc:234–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234bool Cookie::IsExpired() const {
235 // Check if current-time is less than creation time.
236 return (has_expiry_ && (expiration_time_ <= std::chrono::system_clock::now()));
237}
238
239std::string Cookie::AsCookieString() const {
240 // Return the string for the cookie as it would appear in a Cookie header.

Callers 2

DiscardExpiredCookiesMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36