forStatusCode method

HttpWaitStrategy forStatusCode(
  1. int status
)

Accepts status as ready; call it again to accept more. Without any, 200 is the expected status.

Implementation

HttpWaitStrategy forStatusCode(int status) {
  _statuses.add(status);
  return this;
}