Home > post-me > LocalHandle > setMethods
Set the methods that will be exposed to the other end of the connection.
Signature:
setMethods(methods: M): void;
Parameter | Type | Description |
---|---|---|
methods | M | An object mapping method names to functions |
Returns:
void