Features
- Make streamable HTTP the main transport
- Make SSE a fallback of streamable HTTP (9b1b513)
BREAKING CHANGES
- SSE is no longer available as a separate option, but instead is a default fallback of streamable HTTP
Migration
If you had SSE server, simply replace "sse" with "httpStream" and drop endpoint setting:
server.start({
- transportType: "sse",
+ transportType: "httpStream",
- sse: {
+ httpStream: {
- endpoint: "/sse",
port: 8080,
},
});
If you already had streamable HTTP server, simply drop endpoint (it already defaults to /stream for streamable HTTP and /sse for SSE):
server.start({
transportType: "httpStream",
httpStream: {
- endpoint: "/stream",
port: 8080,
},
});
Note
This change is also being rolled out to all servers hosted by Glama.