Meteor Methods
Learn about the syntax of Meteor Methods and how to call them.
We'll cover the following...
Defining Meteor Methods
Meteor Methods are defined by the Meteor guide as RPC systems similar to REST APIs or HTTPs. A Meteor Method is like a POST request to a server. Meteor Methods run on both the client and server.
Syntax in Method
Meteor.methods({
"links.insertNewLink": function (){
//this function runs when the method
//is called on the
//client
}
});
Meteor Methods contain a function that takes an object. Each key of the object represents a ...