Shortcut for :meth:`route` with ``methods=["PUT"]``. .. versionadded:: 2.0
(self, rule: str, **options: t.Any)
| 310 | |
| 311 | @setupmethod |
| 312 | def put(self, rule: str, **options: t.Any) -> t.Callable[[T_route], T_route]: |
| 313 | """Shortcut for :meth:`route` with ``methods=["PUT"]``. |
| 314 | |
| 315 | .. versionadded:: 2.0 |
| 316 | """ |
| 317 | return self._method_route("PUT", rule, options) |
| 318 | |
| 319 | @setupmethod |
| 320 | def delete(self, rule: str, **options: t.Any) -> t.Callable[[T_route], T_route]: |