Skip to content

Commit da980e8

Browse files
FH-30francishodianto30
authored andcommitted
chore: refine comment
1 parent 21760bc commit da980e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/transport/streamable_http.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ func (c *StreamableHTTP) SendRequest(
347347
// session id and the last event id, expecting the server to return an
348348
// SSE streaming response sending the events with ids after the last event id.
349349
// It returns the final result for the request once received, or an error.
350+
// A boolean is returned as well to indicate whether it is appropriate to
351+
// attempt resumption if an error is returned.
350352
func (c *StreamableHTTP) performSSEResumption(
351353
ctx context.Context,
352354
lastEventId string,

0 commit comments

Comments
 (0)