| @@ -19,13 +19,14 @@ | ||
| 19 | 19 | * @param string $action |
| 20 | 20 | * |
| 21 | 21 | * @return array|false |
| 22 | 22 | */ |
| 23 | - public function cache_toggle( $action = 'enable' ) { | |
| 23 | + public function cache_toggle( $action = 'enable', $type = 'fastcgi' ) { | |
| 24 | 24 | return $this->post( |
| 25 | 25 | '/cache-toggle', |
| 26 | 26 | [ |
| 27 | 27 | 'action' => $action, |
| 28 | + 'type' => $type, | |
| 28 | 29 | ] |
| 29 | 30 | ); |
| 30 | 31 | } |
| 31 | 32 | |