Meteor Methods

In Meteor the client calls functions on the server using methods. These methods are similar to RPC (Remote Procedure Calls) and are a way to secure your applications by having the server validate the data sent. Here's how the basic syntax of a method looks like:

  'myMethod': function () {
    // do stuff

And here’s how you call the method on the client:"myMethod");
  Tweet It

🕵 Search Results

🔎 Searching...