mcp: unexport InitializeClientRequest

This request is synthetic, and should not be observed by the user.
Unexport it and rename InitializeServerRequest to just
InitializeRequest.
This commit is contained in:
Rob Findley 2025-08-22 14:20:58 +00:00 • committed by Robert Findley
commit 5fd06ae8b7

View file

@ -54,7 +54,7 @@ type ServerOptions struct {
// Optional instructions for connected clients.
Instructions string
// If non-nil, called when "notifications/initialized" is received.
InitializedHandler func(context.Context, *InitializedServerRequest)
InitializedHandler func(context.Context, *InitializedRequest)
// PageSize is the maximum number of items to return in a single page for
// list methods (e.g. ListTools).
PageSize int