Module ammcore.server.remoteApi¶
Implements API for remote code server.
Index¶
Class
Implements API handle that uses ammboot protocol to find packages on another computer. |
Class¶
-
class ammcore.server.remoteApi.ServerApi :
ammcore.server.ServerApi¶ Implements API handle that uses ammboot protocol to find packages on another computer.
-
New(self: <T:
ammcore.server.remoteApi.ServerApi>, networkCard:NetworkCard, addr:string, port:integer, timeout?:integer, coreModuleResolver: fun(path:string[]): (code:string|nil, realPath:string|nil)) <T:ammcore.server.remoteApi.ServerApi>¶
-
const networkCard:
NetworkCard¶ Network card used to send requests to and receive responses from a code server.
-
const addr:
string¶ Code server address.
-
const port:
integer¶ Code server port.
-
timeout:
integer¶ Request timeout in millisecinds. Default is
500.
-
New(self: <T: