Skip to content

Commit

Permalink
Fixed markdown tables - channels, exchanges, messages
Browse files Browse the repository at this point in the history
  • Loading branch information
boaz-amit authored Oct 10, 2021
1 parent 076ab58 commit 0a8f445
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The following table summarizes the methods available to an AMQP client. For deta
The following table summarizes the methods available to an AMQP channel obtained via the `channel()` method of a `client` instance. For detailed documentation on each method and its arguments please consult the class [documentation](https://github.com/achilleasa/dart_amqp/blob/master/lib/src/client/channel.dart).

| Method | Description
|----------------------------|
|----------------------------|------------------
| close() | Close the channel and abort any pending operations.
| queue() | Define a named queue.
| privateQueue() | Define a private queue with a random name that will be deleted when the channel closes.
Expand Down Expand Up @@ -93,7 +93,7 @@ on the other end.
The following table summarizes the methods available to an AMQP exchange declared via the the `exchange()` method of a `channel` instance. For detailed documentation on each method and its arguments please consult the class [documentation](https://github.com/achilleasa/dart_amqp/blob/master/lib/src/client/exchange.dart).

| Method | Description
|----------------------------|
|----------------------------|------------------
| name() | A getter for the exchange name.
| type() | A getter for the exchange [type](https://github.com/achilleasa/dart_amqp/blob/master/lib/src/enums/exchange_type.dart).
| channel() | A getter for the [channel](#channels) where this exchange was declared.
Expand Down Expand Up @@ -136,7 +136,7 @@ payload of the incoming message as well as the incoming message properties
and provides helper methods for replying, ack-ing and rejecting messages. The following table summarizes the methods provided by `AmqpMessage`. For detailed documentation on each method and its arguments please consult the class [documentation](https://github.com/achilleasa/dart_amqp/blob/master/lib/src/client/amqp_message.dart).

| Method | Description
|-------------------|
|-------------------|------------------
| payload() | A getter for retrieving the raw message paylaod as an Uint8List.
| payloadAsString() | A getter for retrieving the message payload as an UTF8 String.
| payloadAsJson() | A getter for retrieving the message payload as a parsed JSON document.
Expand Down

0 comments on commit 0a8f445

Please sign in to comment.