ContentMatcher class

Optional. Used to perform content matching. This allows matching based on substrings and regular expressions, together with their negations. Only the first 4 MB of an HTTP or HTTPS check's response (and the first 1 MB of a TCP check's response) are examined for purposes of content matching.

Constructors

ContentMatcher()
ContentMatcher.fromJson(Map _json)

Properties

content String
String or regex content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
matcher String
The type of content matcher that will be applied to the server output, compared to the content string when the check is run. Possible string values are: [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited