post-me

Home > post-me > LocalHandle > setMethods

LocalHandle.setMethods() method

Set the methods that will be exposed to the other end of the connection.

Signature:

setMethods(methods: M): void;

Parameters

Parameter Type Description
methods M An object mapping method names to functions

Returns:

void