Fill net.createServer
This commit is contained in:
parent
6c178d615d
commit
b08237d63f
|
@ -46,7 +46,7 @@ export class Net implements NodeNet {
|
||||||
_options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean } | ((socket: net.Socket) => void),
|
_options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean } | ((socket: net.Socket) => void),
|
||||||
_connectionListener?: (socket: net.Socket) => void,
|
_connectionListener?: (socket: net.Socket) => void,
|
||||||
): net.Server {
|
): net.Server {
|
||||||
throw new Error("not implemented");
|
return this.client.createServer() as net.Server;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue