Skip to content

Commit 9d02b37

Browse files
committed
Update jphp-httpserver-ext.
1 parent 43787b2 commit 9d02b37

File tree

7 files changed

+149
-5
lines changed

7 files changed

+149
-5
lines changed

exts/jphp-httpserver-ext/api-docs/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
---
44

55
## jphp-httpserver-ext
6-
> version 1.1.0, created by JPPM.
6+
> version {0}, created by JPPM.
77
88

99
### Install
1010
```
11-
11+
1212
```
1313

1414
### API
@@ -20,6 +20,7 @@ jppm add [email protected]
2020
- [`HttpCORSFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpCORSFilter.md)
2121
- [`HttpDownloadFileHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpDownloadFileHandler.md)- _Class HttpDownloadFileHandler_
2222
- [`HttpGzipFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpGzipFilter.md)
23+
- [`HttpPart`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpPart.md)
2324
- [`HttpRedirectHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpRedirectHandler.md)- _Class HttpDownloadFileHandler_
2425
- [`HttpResourceHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpResourceHandler.md)
2526
- [`HttpRouteFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpRouteFilter.md)

exts/jphp-httpserver-ext/api-docs/README.ru.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
---
44

55
## jphp-httpserver-ext
6-
> версия 1.1.0, создано с помощью JPPM.
6+
> версия {0}, создано с помощью JPPM.
77
88

99
### Установка
1010
```
11-
11+
1212
```
1313

1414
### АПИ
@@ -20,6 +20,7 @@ jppm add [email protected]
2020
- [`HttpCORSFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpCORSFilter.ru.md)
2121
- [`HttpDownloadFileHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpDownloadFileHandler.ru.md)- _Class HttpDownloadFileHandler_
2222
- [`HttpGzipFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpGzipFilter.ru.md)
23+
- [`HttpPart`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpPart.ru.md)
2324
- [`HttpRedirectHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpRedirectHandler.ru.md)- _Class HttpDownloadFileHandler_
2425
- [`HttpResourceHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpResourceHandler.ru.md)
2526
- [`HttpRouteFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpRouteFilter.ru.md)
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# HttpPart
2+
3+
- **class** `HttpPart` (`php\http\HttpPart`)
4+
- **source** `php/http/HttpPart.php`
5+
6+
---
7+
8+
#### Methods
9+
10+
- `->`[`readAll()`](#method-readall)
11+
- `->`[`getName()`](#method-getname)
12+
- `->`[`getContentType()`](#method-getcontenttype)
13+
- `->`[`getSubmittedFileName()`](#method-getsubmittedfilename)
14+
- `->`[`getSize()`](#method-getsize)
15+
16+
---
17+
# Methods
18+
19+
<a name="method-readall"></a>
20+
21+
### readAll()
22+
```php
23+
readAll(): string
24+
```
25+
26+
---
27+
28+
<a name="method-getname"></a>
29+
30+
### getName()
31+
```php
32+
getName(): string
33+
```
34+
35+
---
36+
37+
<a name="method-getcontenttype"></a>
38+
39+
### getContentType()
40+
```php
41+
getContentType(): string
42+
```
43+
44+
---
45+
46+
<a name="method-getsubmittedfilename"></a>
47+
48+
### getSubmittedFileName()
49+
```php
50+
getSubmittedFileName(): string
51+
```
52+
53+
---
54+
55+
<a name="method-getsize"></a>
56+
57+
### getSize()
58+
```php
59+
getSize(): int
60+
```
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# HttpPart
2+
3+
- **класс** `HttpPart` (`php\http\HttpPart`)
4+
- **исходники** `php/http/HttpPart.php`
5+
6+
---
7+
8+
#### Методы
9+
10+
- `->`[`readAll()`](#method-readall)
11+
- `->`[`getName()`](#method-getname)
12+
- `->`[`getContentType()`](#method-getcontenttype)
13+
- `->`[`getSubmittedFileName()`](#method-getsubmittedfilename)
14+
- `->`[`getSize()`](#method-getsize)
15+
16+
---
17+
# Методы
18+
19+
<a name="method-readall"></a>
20+
21+
### readAll()
22+
```php
23+
readAll(): string
24+
```
25+
26+
---
27+
28+
<a name="method-getname"></a>
29+
30+
### getName()
31+
```php
32+
getName(): string
33+
```
34+
35+
---
36+
37+
<a name="method-getcontenttype"></a>
38+
39+
### getContentType()
40+
```php
41+
getContentType(): string
42+
```
43+
44+
---
45+
46+
<a name="method-getsubmittedfilename"></a>
47+
48+
### getSubmittedFileName()
49+
```php
50+
getSubmittedFileName(): string
51+
```
52+
53+
---
54+
55+
<a name="method-getsize"></a>
56+
57+
### getSize()
58+
```php
59+
getSize(): int
60+
```

exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpServerRequest.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Class HttpServerRequest
3838
- `->`[`locale()`](#method-locale)
3939
- `->`[`locales()`](#method-locales)
4040
- `->`[`bodyStream()`](#method-bodystream)
41+
- `->`[`getParts()`](#method-getparts)
4142

4243
---
4344
# Methods
@@ -274,4 +275,13 @@ locales(): Locale[]
274275
### bodyStream()
275276
```php
276277
bodyStream(): php\io\Stream
278+
```
279+
280+
---
281+
282+
<a name="method-getparts"></a>
283+
284+
### getParts()
285+
```php
286+
getParts(): HttpPart[]
277287
```

exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpServerRequest.ru.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Class HttpServerRequest
3838
- `->`[`locale()`](#method-locale)
3939
- `->`[`locales()`](#method-locales)
4040
- `->`[`bodyStream()`](#method-bodystream)
41+
- `->`[`getParts()`](#method-getparts)
4142

4243
---
4344
# Методы
@@ -274,4 +275,13 @@ locales(): Locale[]
274275
### bodyStream()
275276
```php
276277
bodyStream(): php\io\Stream
278+
```
279+
280+
---
281+
282+
<a name="method-getparts"></a>
283+
284+
### getParts()
285+
```php
286+
getParts(): HttpPart[]
277287
```

exts/jphp-httpserver-ext/package.php.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
name: jphp-httpserver-ext
3-
version: 1.1.0
3+
version: 1.1.1
44

55

66
plugins: [Doc, Hub]
@@ -13,5 +13,7 @@ doc:
1313

1414

1515
history:
16+
1.1.1:
17+
- Add HttpPart support.
1618
1.1.0:
1719
- Upgrade jetty to 9.4.26.v20200117

0 commit comments

Comments
 (0)