override def canEqual()

in http-core/src/main/scala/org/apache/pekko/http/scaladsl/model/headers/HttpCookie.scala [136:152]


  override def canEqual(that: Any): Boolean = that.isInstanceOf[HttpCookie]

  override def equals(obj: Any): Boolean = obj match {
    case that: HttpCookie =>
      this.canEqual(that) &&
      this.name == that.name &&
      this.value == that.value &&
      this.expires == that.expires &&
      this.maxAge == that.maxAge &&
      this.domain == that.domain &&
      this.path == that.path &&
      this.secure == that.secure &&
      this.httpOnly == that.httpOnly &&
      this.extension == that.extension &&
      this.sameSite == that.sameSite
    case _ => false
  }