You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* develop:
specify next release
update notes style
update notes style
add documentation for grouped routes
update changelog
add Routes::append()
add support for grouped routes
update actions
run tests via blackbox
fix keeping all routes in memory
use an Implementation interface to better track the expected types
simplify readme example
fix documentation
update dependencies
Copy file name to clipboardExpand all lines: README.md
+21-29Lines changed: 21 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,8 @@ Take a look at the [documentation](docs/) for a more in-depth understanding of t
24
24
25
25
The first step is to create the index file that will be exposed via a webserver (for example `public/index.php`). Then you need to specify the routes you want to handle.
26
26
27
-
> **Note** if you don't configure any route it will respond with `404 Not Found` with an empty body.
27
+
> [!NOTE]
28
+
> if you don't configure any route it will respond with `404 Not Found` with an empty body.
Copy file name to clipboardExpand all lines: docs/experimental/async-server.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
3
3
The framework comes with an HTTP server entirely built in PHP allowing you to serve your app without extra dependencies in ther earlist stages of your project.
4
4
5
-
> **Note** This feature is optional, to use it you must before run `composer require innmind/async-http-server`.
5
+
> [!NOTE]
6
+
> This feature is optional, to use it you must before run `composer require innmind/async-http-server`.
6
7
7
8
To use it is similar to the standard [http](../http.md) handler, the first difference is the namespace of the main entrypoint:
8
9
@@ -29,6 +30,8 @@ Note the namespace is `Main\Async\Http` instead of `Main\Http`. The other differ
29
30
30
31
All the configuration of the `Application` object is identical to the other contexts.
31
32
32
-
> **Note** The server currently does have limitations, streamed requests (via `Transfer-Encoding`) are not supported and multipart requests are not parsed.
33
+
> [!NOTE]
34
+
>The server currently does have limitations, streamed requests (via `Transfer-Encoding`) are not supported and multipart requests are not parsed.
33
35
34
-
> **Warning** This server was built to showcase in a conference talk the ability to switch between synchronous code and asynchronous code without changing the app code. Do **NOT** use this server in production.
36
+
> [!WARNING]
37
+
> This server was built to showcase in a conference talk the ability to switch between synchronous code and asynchronous code without changing the app code. Do **NOT** use this server in production.
0 commit comments