Endpoint topic

Callable endpoints

Each class contains callable methods that will call a method on the server side. These are normally defined in the endpoint directory in your server project. This client sends requests to these endpoints and returns the result.

Example usage:

// How to use ExampleEndpoint.
client.example.hello("world!");

// Generic format.
client.<endpoint>.<method>(...);

Please see the full official documentation here

Classes

EndpointMcp Endpoint
Endpoint for handling Model Context Protocol (MCP) related operations.
EndpointStarguide Endpoint
Endpoint for chat sessions and Q&A powered by RAG over Serverpod docs.