ListResources lists the resources that are currently available on the server.
(ctx context.Context, params *ListResourcesParams)
| 1005 | |
| 1006 | // ListResources lists the resources that are currently available on the server. |
| 1007 | func (cs *ClientSession) ListResources(ctx context.Context, params *ListResourcesParams) (*ListResourcesResult, error) { |
| 1008 | return handleSend[*ListResourcesResult](ctx, methodListResources, newClientRequest(cs, orZero[Params](params))) |
| 1009 | } |
| 1010 | |
| 1011 | // ListResourceTemplates lists the resource templates that are currently available on the server. |
| 1012 | func (cs *ClientSession) ListResourceTemplates(ctx context.Context, params *ListResourceTemplatesParams) (*ListResourceTemplatesResult, error) { |