# reqwest.method

## 功能

设置 HTTP 请求方法。

## 语法

```bt
reqwest(url).method(method)
```

## 参数

| 参数 | 类型 | 必填 | 默认值 | 说明 |
| ------ | ------ | ------ | ------ | ------ |
| method | String | 否 | GET | HTTP 方法，会转为大写。 |

## 返回值

| 类型 | 说明 |
| ------ | ------ |
| Reqwest | 返回新的请求构建器。 |

## 示例

```bt
request = reqwest('https://example.com').method('post')
result = type(request)

// 输出：Reqwest
print result
```

## 注意事项

- 方法名会在 send() 时按 reqwest::Method 校验。
