Skip to content

Commit

Permalink
Update jphp-httpserver-ext.
Browse files Browse the repository at this point in the history
dim-s committed Apr 17, 2020
1 parent 43787b2 commit 9d02b37
Showing 7 changed files with 149 additions and 5 deletions.
5 changes: 3 additions & 2 deletions exts/jphp-httpserver-ext/api-docs/README.md
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
---

## jphp-httpserver-ext
> version 1.1.0, created by JPPM.
> version {0}, created by JPPM.

### Install
```
jppm add jphp-httpserver-ext@1.1.0
jppm add jphp-httpserver-ext@1.1.1
```

### API
@@ -20,6 +20,7 @@ jppm add jphp-httpserver-ext@1.1.0
- [`HttpCORSFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpCORSFilter.md)
- [`HttpDownloadFileHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpDownloadFileHandler.md)- _Class HttpDownloadFileHandler_
- [`HttpGzipFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpGzipFilter.md)
- [`HttpPart`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpPart.md)
- [`HttpRedirectHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpRedirectHandler.md)- _Class HttpDownloadFileHandler_
- [`HttpResourceHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpResourceHandler.md)
- [`HttpRouteFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpRouteFilter.md)
5 changes: 3 additions & 2 deletions exts/jphp-httpserver-ext/api-docs/README.ru.md
Original file line number Diff line number Diff line change
@@ -3,12 +3,12 @@
---

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

### Установка
```
jppm add jphp-httpserver-ext@1.1.0
jppm add jphp-httpserver-ext@1.1.1
```

### АПИ
@@ -20,6 +20,7 @@ jppm add jphp-httpserver-ext@1.1.0
- [`HttpCORSFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpCORSFilter.ru.md)
- [`HttpDownloadFileHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpDownloadFileHandler.ru.md)- _Class HttpDownloadFileHandler_
- [`HttpGzipFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpGzipFilter.ru.md)
- [`HttpPart`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpPart.ru.md)
- [`HttpRedirectHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpRedirectHandler.ru.md)- _Class HttpDownloadFileHandler_
- [`HttpResourceHandler`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpResourceHandler.ru.md)
- [`HttpRouteFilter`](https://github.com/jphp-compiler/jphp/blob/master/exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpRouteFilter.ru.md)
60 changes: 60 additions & 0 deletions exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpPart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# HttpPart

- **class** `HttpPart` (`php\http\HttpPart`)
- **source** `php/http/HttpPart.php`

---

#### Methods

- `->`[`readAll()`](#method-readall)
- `->`[`getName()`](#method-getname)
- `->`[`getContentType()`](#method-getcontenttype)
- `->`[`getSubmittedFileName()`](#method-getsubmittedfilename)
- `->`[`getSize()`](#method-getsize)

---
# Methods

<a name="method-readall"></a>

### readAll()
```php
readAll(): string
```

---

<a name="method-getname"></a>

### getName()
```php
getName(): string
```

---

<a name="method-getcontenttype"></a>

### getContentType()
```php
getContentType(): string
```

---

<a name="method-getsubmittedfilename"></a>

### getSubmittedFileName()
```php
getSubmittedFileName(): string
```

---

<a name="method-getsize"></a>

### getSize()
```php
getSize(): int
```
60 changes: 60 additions & 0 deletions exts/jphp-httpserver-ext/api-docs/classes/php/http/HttpPart.ru.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# HttpPart

- **класс** `HttpPart` (`php\http\HttpPart`)
- **исходники** `php/http/HttpPart.php`

---

#### Методы

- `->`[`readAll()`](#method-readall)
- `->`[`getName()`](#method-getname)
- `->`[`getContentType()`](#method-getcontenttype)
- `->`[`getSubmittedFileName()`](#method-getsubmittedfilename)
- `->`[`getSize()`](#method-getsize)

---
# Методы

<a name="method-readall"></a>

### readAll()
```php
readAll(): string
```

---

<a name="method-getname"></a>

### getName()
```php
getName(): string
```

---

<a name="method-getcontenttype"></a>

### getContentType()
```php
getContentType(): string
```

---

<a name="method-getsubmittedfilename"></a>

### getSubmittedFileName()
```php
getSubmittedFileName(): string
```

---

<a name="method-getsize"></a>

### getSize()
```php
getSize(): int
```
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ Class HttpServerRequest
- `->`[`locale()`](#method-locale)
- `->`[`locales()`](#method-locales)
- `->`[`bodyStream()`](#method-bodystream)
- `->`[`getParts()`](#method-getparts)

---
# Methods
@@ -274,4 +275,13 @@ locales(): Locale[]
### bodyStream()
```php
bodyStream(): php\io\Stream
```

---

<a name="method-getparts"></a>

### getParts()
```php
getParts(): HttpPart[]
```
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ Class HttpServerRequest
- `->`[`locale()`](#method-locale)
- `->`[`locales()`](#method-locales)
- `->`[`bodyStream()`](#method-bodystream)
- `->`[`getParts()`](#method-getparts)

---
# Методы
@@ -274,4 +275,13 @@ locales(): Locale[]
### bodyStream()
```php
bodyStream(): php\io\Stream
```

---

<a name="method-getparts"></a>

### getParts()
```php
getParts(): HttpPart[]
```
4 changes: 3 additions & 1 deletion exts/jphp-httpserver-ext/package.php.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

name: jphp-httpserver-ext
version: 1.1.0
version: 1.1.1


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


history:
1.1.1:
- Add HttpPart support.
1.1.0:
- Upgrade jetty to 9.4.26.v20200117

0 comments on commit 9d02b37

Please sign in to comment.