setDefaultHandler
fun setDefaultHandler(handler: MockzillaHttpRequest.() -> MockzillaHttpResponse): EndpointConfiguration.Builder
The block called when a network request is made to this endpoint. Note: If the value of setShouldFail causes Mockzilla to generate a failure response, then this block will not be called, instead the block specified by setErrorHandler is called.
Parameters
handler