options method

TestRequest options(
  1. String path
)

Create an OPTIONS request for testing.

path The path to request (e.g., '/api/users'). Returns a TestRequest builder for the OPTIONS request.

Implementation

TestRequest options(String path) {
  return TestRequest(_client, 'OPTIONS', path, baseUrl);
}