setPattern

Specifies whether Mockzilla should map a network request to this endpoint.

Used to map an incoming network request to the correct endpoint. The URI is matched against the given regex.

This is just a utility wrapper around the more flexible setPatternMatcher endpoint.

Parameters

regex