Methods
Methods
Documentation of Meteor's Method (Remote Procedure Call) API.
Methods are remote functions that Meteor clients can invoke.
Anywhere Meteor.methods(methods)
import { Meteor } from 'meteor/meteor'
(ddp-server/livedata_server.js, line 1542)
import { Meteor } from 'meteor/meteor'
(ddp-server/livedata_server.js, line 1542) Defines functions that can be invoked over the network by clients.
Arguments
-
methods
Object -
Dictionary whose keys are method names and values are functions.
Example: