mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 07:35:34 +08:00
add api docs (#80)
This commit is contained in:
50
docs/api/ZM/Utils/HttpUtil.md
Normal file
50
docs/api/ZM/Utils/HttpUtil.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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 | |
|
||||
### 返回
|
||||
|
||||
| 类型 | 描述 |
|
||||
| ---- | ----------- |
|
||||
| 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 | |
|
||||
### 返回
|
||||
|
||||
| 类型 | 描述 |
|
||||
| ---- | ----------- |
|
||||
| bool | |
|
||||
Reference in New Issue
Block a user