withMethod method

HttpWaitStrategy withMethod(
  1. String 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;
}