2022-03-27 16:42:36 +08:00
|
|
|
# ZM\Utils\HttpUtil
|
|
|
|
|
|
|
|
|
|
## parseUri
|
|
|
|
|
|
|
|
|
|
```php
|
|
|
|
|
public function parseUri(mixed $request, mixed $response, mixed $uri, mixed $node, mixed $params): mixed
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 描述
|
|
|
|
|
|
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
|
|
|
|
|
|
### 参数
|
|
|
|
|
|
|
|
|
|
| 名称 | 类型 | 描述 |
|
|
|
|
|
| -------- | ---- | ----------- |
|
|
|
|
|
| request | mixed | |
|
|
|
|
|
| response | mixed | |
|
|
|
|
|
| uri | mixed | |
|
|
|
|
|
| node | mixed | |
|
|
|
|
|
| params | mixed | |
|
2022-04-01 18:48:48 +08:00
|
|
|
|
2022-03-27 16:42:36 +08:00
|
|
|
### 返回
|
|
|
|
|
|
|
|
|
|
| 类型 | 描述 |
|
|
|
|
|
| ---- | ----------- |
|
|
|
|
|
| mixed | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## handleStaticPage
|
|
|
|
|
|
|
|
|
|
```php
|
|
|
|
|
public function handleStaticPage(mixed $uri, Response|\Swoole\Http\Response $response, array $settings): bool
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 描述
|
|
|
|
|
|
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
|
|
|
|
|
|
### 参数
|
|
|
|
|
|
|
|
|
|
| 名称 | 类型 | 描述 |
|
|
|
|
|
| -------- | ---- | ----------- |
|
|
|
|
|
| uri | mixed | |
|
|
|
|
|
| response | Response|\Swoole\Http\Response | |
|
|
|
|
|
| settings | array | |
|
2022-04-01 18:48:48 +08:00
|
|
|
|
2022-03-27 16:42:36 +08:00
|
|
|
### 返回
|
|
|
|
|
|
|
|
|
|
| 类型 | 描述 |
|
|
|
|
|
| ---- | ----------- |
|
|
|
|
|
| bool | |
|