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: (37 commits)
specify next release
update documentation
use more explicit int types
use promoted properties
fix deprecated code
always return an error when signalled
CS
flag Failure::as() as internal
CS
remove useless code
fix tests
return an error when the channel or frame size is incorrect instead of throwing
bump foundation
make Continuation return an Attempt
CS
make MessageReader return an Attempt
keep track of previous errors
use Attempt as return type for all Connection methods
make Commands return an Attempt
make Client::run() return an Attempt to allow to add more error cases
...
Copy file name to clipboardExpand all lines: README.md
+14-19Lines changed: 14 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,16 @@ This is an AMQP client implementing the version `0.9` of the protocol.
8
8
9
9
The goal of this implementation is to provide a PHP land implementation (for ease of use and readability) with a clear separation between the AMQP Model, transport layer and user API.
10
10
11
-
**Note**: This implementation couldn't have been done without [`php-amqplib`](https://packagist.org/packages/php-amqplib/php-amqplib) that helped a lot to figure out the details of the transport layer.
11
+
> [!NOTE]
12
+
> This implementation couldn't have been done without [`php-amqplib`](https://packagist.org/packages/php-amqplib/php-amqplib) that helped a lot to figure out the details of the transport layer.
12
13
13
-
**Important**: If you are using RabbitMQ be aware that it doesn't implemented the specification completely, `Qos` and `Recover` methods are not implemented. And if you find yourself using [`Value`](src/Transport/Frame/Value.php) implementations note that `ShortString`, `SignedLongLongInteger` and `SignedShortInteger` generate server errors on some methods (like using them as message headers).
14
+
> [!IMPORTANT]
15
+
> If you are using RabbitMQ be aware that it doesn't implemented the specification completely, `Qos` and `Recover` methods are not implemented. And if you find yourself using [`Value`](src/Transport/Frame/Value.php) implementations note that `ShortString`, `SignedLongLongInteger` and `SignedShortInteger` generate server errors on some methods (like using them as message headers).
14
16
15
17
[Documentation](docs)
16
18
17
-
**Important**: you must use [`vimeo/psalm`](https://packagist.org/packages/vimeo/psalm) to make sure you use this library correctly.
19
+
> [!IMPORTANT]
20
+
> You must use [`vimeo/psalm`](https://packagist.org/packages/vimeo/psalm) to make sure you use this library correctly.
static fn($failure) => throw new \RuntimeException($failure::class),
58
-
);
58
+
->unwrap();
59
59
```
60
60
61
61
The above example will declare an exchange named `crawler` and queue `parser` that will receive messages from our exchange. Finally it will publish a message with the payload `http://github.com/` to `crawler` (and the server will route it to `parser`).
0 commit comments