Keep-Alive

object Keep-Alive
Companion:
class
Source:
Keep-Alive.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

reservedTokens.contains[String](p._1))))ParseResult.fail("InvalidKeep-Aliveheader",_root_.scala.StringContext.apply("Reservedtokenoflist","wasfoundintheextensions.").s(reservedTokens))else{ valvalidatedTimeoutSeconds:Either[ParseFailure,Option[Long]]=toTraverseOps[[A>:Nothing<:Any]=>Option[A],Long](timeoutSeconds)(catsStdInstancesForOption).traverse[[A>:Nothing<:Any]=>Either[ParseFailure,A],Long](((t:Long)=>nonNegativeLong(t,"timeout")))(catsStdInstancesForEither[ParseFailure]) valvalidatedMax:Either[ParseFailure,Option[Long]]=toTraverseOps[[A>:Nothing<:Any]=>Option[A],Long](max)(catsStdInstancesForOption).traverse[[A>:Nothing<:Any]=>Either[ParseFailure,A],Long](((m:Long)=>nonNegativeLong(m,"max")))(catsStdInstancesForEither[ParseFailure]) catsSyntaxTuple2Semigroupal[[B>:Nothing<:Any]=>Either[ParseFailure,B],Option[Long],Option[Long]](Tuple2.apply[Either[ParseFailure,Option[Long]],Either[ParseFailure,Option[Long]]](validatedTimeoutSeconds,validatedMax)).mapN[Keep-Alive](((`t₂`:Option[Long],`m₂`:Option[Long])=>impl(`t₂`,`m₂`,extension)))(catsStdInstancesForEither[ParseFailure],catsStdInstancesForEither[ParseFailure]) } }elseParseResult.fail("InvalidKeep-Aliveheader","AllfieldsofKeep-Alivewereempty")" class="documentableAnchor">
def unsafeApply(timeoutSeconds: Option[Long], max: Option[Long], extension: List[(String, Option[String])]): Keep-Alive

Implicits

Implicits