File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -77,18 +77,18 @@ var _ ClientSession = (*sseSession)(nil)
77
77
// SSEServer implements a Server-Sent Events (SSE) based MCP server.
78
78
// It provides real-time communication capabilities over HTTP using the SSE protocol.
79
79
type SSEServer struct {
80
- server * MCPServer
81
- baseURL string
82
- basePath string
83
- useFullURLForMessageEndpoint bool
84
- messageEndpoint string
85
- sseEndpoint string
86
- sessions sync. Map
87
- srv * http. Server
88
- contextFunc SSEContextFunc
89
-
90
- keepAlive bool
91
- keepAliveInterval time.Duration
80
+ server * MCPServer
81
+ baseURL string
82
+ basePath string
83
+ useFullURLForMessageEndpoint bool
84
+ messageEndpoint string
85
+ sseEndpoint string
86
+ ssePattern string
87
+ sessions sync. Map
88
+ srv * http. Server
89
+ contextFunc SSEContextFunc
90
+ keepAlive bool
91
+ keepAliveInterval time.Duration
92
92
93
93
mu sync.RWMutex
94
94
}
You can’t perform that action at this time.
0 commit comments