WarningType

scamper.http.types.WarningType
See theWarningType companion trait
object WarningType

Provides factory for WarningType.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(code: Int, agent: String, text: String, date: Option[Instant]): WarningType

Creates warning with supplied values.

Creates warning with supplied values.

Attributes

def parse(warning: String): WarningType

Parses formatted warning.

Parses formatted warning.

Attributes

def parseAll(warnings: String): Seq[WarningType]

Parses formatted list of warnings.

Parses formatted list of warnings.

Attributes