withMethod method
Sets the HTTP method used for each probe request.
Defaults to 'GET'. The value is upper-cased automatically.
Returns this for chaining.
Implementation
HttpWaitStrategy withMethod(String method) {
_method = method.toUpperCase();
return this;
}