import { listenUdsRequest } from "https://deno.land/x/simple_ipc@v0.1.3/mod.ts";
The path to the socket file will be /tmp/(ch).sock
. /tmp
is C:/Windows/Temp
if Windows.
Type Parameters
T extends MessageBody
U extends MessageBody
Parameters
onMessage: MessageHandler<T, U>
Handler function that is called each time data is received from the remote client, Return value is the response data.