Skip to content

Commit ca5f532

Browse files
authored
fix: Update transport descriptions in README (#291)
# Description Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Follow the [`CONTRIBUTING` Guide](../CONTRIBUTING.md). - [x] Make your Pull Request title in the <https://www.conventionalcommits.org/> specification. - Important Prefixes for [release-please](https://github.com/googleapis/release-please): - `fix:` which represents bug fixes, and correlates to a [SemVer](https://semver.org/) patch. - `feat:` represents a new feature, and correlates to a SemVer minor. - `feat!:`, or `fix!:`, `refactor!:`, etc., which represent a breaking change (indicated by the `!`) and will result in a SemVer major. - [x] Ensure the tests pass - [x] Appropriate READMEs were updated (if necessary)
1 parent 75d4b98 commit ca5f532

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ The A2A Java SDK provides [reference A2A server implementations](reference) base
5050
[Server Integrations](#server-integrations) contains a list of community contributed integrations of the server with various runtimes. You might be able to use one of these for your target runtime, or you can use them as inspiration to create your own.
5151

5252
#### Server Transports
53-
The A2A Java SDK Reference Server implementations support a couple transports: JSON-RPC 2.0 and gRPC.
53+
The A2A Java SDK Reference Server implementations support the following transports:
54+
55+
* JSON-RPC 2.0
56+
* gRPC
57+
* HTTP+JSON/REST
5458

5559
To use the reference implementation with the JSON-RPC protocol, add the following dependency to your project:
5660

@@ -78,9 +82,6 @@ To use the reference implementation with the gRPC protocol, add the following de
7882
</dependency>
7983
```
8084

81-
Note that you can add more than one of the above dependencies to your project depending on the transports
82-
you'd like to support.
83-
8485
To use the reference implementation with the HTTP+JSON/REST protocol, add the following dependency to your project:
8586

8687
> *⚠️ The `io.github.a2asdk` `groupId` below is temporary and will likely change for future releases.*
@@ -94,6 +95,9 @@ To use the reference implementation with the HTTP+JSON/REST protocol, add the fo
9495
</dependency>
9596
```
9697

98+
Note that you can add more than one of the above dependencies to your project depending on the transports
99+
you'd like to support.
100+
97101
### 2. Add a class that creates an A2A Agent Card
98102

99103
```java
@@ -230,7 +234,11 @@ public class WeatherAgentExecutorProducer {
230234

231235
## A2A Client
232236

233-
The A2A Java SDK provides a Java client implementation of the [Agent2Agent (A2A) Protocol](https://google-a2a.github.io/A2A), allowing communication with A2A servers. The Java client implementation currently supports two transport protocols: JSON-RPC 2.0 and gRPC.
237+
The A2A Java SDK provides a Java client implementation of the [Agent2Agent (A2A) Protocol](https://google-a2a.github.io/A2A), allowing communication with A2A servers. The Java client implementation supports the following transports:
238+
239+
* JSON-RPC 2.0
240+
* gRPC
241+
* HTTP+JSON/REST
234242

235243
To make use of the Java `Client`:
236244

0 commit comments

Comments
 (0)