Class SseServerParameters
java.lang.Object
com.google.adk.tools.mcp.SseServerParameters
Parameters for establishing a MCP Server-Sent Events (SSE) connection.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SseServerParameters.Builder
builder()
Creates a new builder forSseServerParameters
.headers()
Optional headers to include in the SSE connection request.abstract Duration
The timeout for reading data from the SSE stream.abstract Duration
timeout()
The timeout for the initial connection attempt.abstract String
url()
The URL of the SSE server.
-
Constructor Details
-
SseServerParameters
public SseServerParameters()
-
-
Method Details
-
url
The URL of the SSE server. -
headers
-
timeout
The timeout for the initial connection attempt. -
sseReadTimeout
The timeout for reading data from the SSE stream. -
builder
Creates a new builder forSseServerParameters
.
-