- Fixed a bug occuring within Timeout
This commit is contained in:
1 parent
aba0ec3458
commit
56ca1e2071
5 files changed
+5
No files matched your search
@@ -9,5 +9,6 @@ class Collection extends ApiAction {
|
|||||||
public function __construct(
|
public function __construct(
|
||||||
public string $url,
|
public string $url,
|
||||||
public MethodEnum $method = MethodEnum::Get,
|
public MethodEnum $method = MethodEnum::Get,
|
||||||
|
public int $timeout = 5,
|
||||||
) {}
|
) {}
|
||||||
}
|
}
|
||||||
@@ -9,5 +9,6 @@ class Create extends ApiAction {
|
|||||||
public function __construct(
|
public function __construct(
|
||||||
public string $url,
|
public string $url,
|
||||||
public MethodEnum $method = MethodEnum::Post,
|
public MethodEnum $method = MethodEnum::Post,
|
||||||
|
public int $timeout = 5,
|
||||||
) {}
|
) {}
|
||||||
}
|
}
|
||||||
@@ -9,5 +9,6 @@ class Delete extends ApiAction {
|
|||||||
public function __construct(
|
public function __construct(
|
||||||
public string $url,
|
public string $url,
|
||||||
public MethodEnum $method = MethodEnum::Delete,
|
public MethodEnum $method = MethodEnum::Delete,
|
||||||
|
public int $timeout = 5,
|
||||||
) {}
|
) {}
|
||||||
}
|
}
|
||||||
@@ -9,5 +9,6 @@ class Read extends ApiAction {
|
|||||||
public function __construct(
|
public function __construct(
|
||||||
public string $url,
|
public string $url,
|
||||||
public MethodEnum $method = MethodEnum::Get,
|
public MethodEnum $method = MethodEnum::Get,
|
||||||
|
public int $timeout = 5,
|
||||||
) {}
|
) {}
|
||||||
}
|
}
|
||||||
@@ -9,5 +9,6 @@ class Update extends ApiAction {
|
|||||||
public function __construct(
|
public function __construct(
|
||||||
public string $url,
|
public string $url,
|
||||||
public MethodEnum $method = MethodEnum::Patch,
|
public MethodEnum $method = MethodEnum::Patch,
|
||||||
|
public int $timeout = 5,
|
||||||
) {}
|
) {}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user