migrating to ESM merging v9.2.1
This commit is contained in:
commit
d48b268c6e
4 changed files with 10 additions and 2 deletions
1
.github/FUNDING.yml
vendored
1
.github/FUNDING.yml
vendored
|
@ -1,3 +1,4 @@
|
||||||
# These are supported funding model platforms
|
# These are supported funding model platforms
|
||||||
|
|
||||||
github: RIAEvangelist
|
github: RIAEvangelist
|
||||||
|
|
||||||
|
|
|
@ -91,6 +91,8 @@ Set these variables in the `ipc.config` scope to overwrite or set default values
|
||||||
id : os.hostname(),
|
id : os.hostname(),
|
||||||
networkHost : 'localhost', //should resolve to 127.0.0.1 or ::1 see the table below related to this
|
networkHost : 'localhost', //should resolve to 127.0.0.1 or ::1 see the table below related to this
|
||||||
networkPort : 8000,
|
networkPort : 8000,
|
||||||
|
readableAll : false,
|
||||||
|
writableAll : false,
|
||||||
encoding : 'utf8',
|
encoding : 'utf8',
|
||||||
rawBuffer : false,
|
rawBuffer : false,
|
||||||
delimiter : '\f',
|
delimiter : '\f',
|
||||||
|
@ -122,6 +124,8 @@ Set these variables in the `ipc.config` scope to overwrite or set default values
|
||||||
| id | the id of this socket or service |
|
| id | the id of this socket or service |
|
||||||
| networkHost| the local or remote host on which TCP, TLS or UDP Sockets should connect |
|
| networkHost| the local or remote host on which TCP, TLS or UDP Sockets should connect |
|
||||||
| networkPort| the default port on which TCP, TLS, or UDP sockets should connect |
|
| networkPort| the default port on which TCP, TLS, or UDP sockets should connect |
|
||||||
|
| readableAll| makes the pipe readable for all users including windows services |
|
||||||
|
| writableAll| makes the pipe writable for all users including windows services |
|
||||||
| encoding | the default encoding for data sent on sockets. Mostly used if rawBuffer is set to true. Valid values are : ` ascii` ` utf8 ` ` utf16le` ` ucs2` ` base64` ` hex ` . |
|
| encoding | the default encoding for data sent on sockets. Mostly used if rawBuffer is set to true. Valid values are : ` ascii` ` utf8 ` ` utf16le` ` ucs2` ` base64` ` hex ` . |
|
||||||
| rawBuffer| if true, data will be sent and received as a raw node ` Buffer ` __NOT__ an ` Object ` as JSON. This is great for Binary or hex IPC, and communicating with other processes in languages like C and C++ |
|
| rawBuffer| if true, data will be sent and received as a raw node ` Buffer ` __NOT__ an ` Object ` as JSON. This is great for Binary or hex IPC, and communicating with other processes in languages like C and C++ |
|
||||||
| delimiter| the delimiter at the end of each data packet. |
|
| delimiter| the delimiter at the end of each data packet. |
|
||||||
|
|
|
@ -307,8 +307,8 @@ function startServer() {
|
||||||
|
|
||||||
this.server.listen({
|
this.server.listen({
|
||||||
path: this.path,
|
path: this.path,
|
||||||
readableAll: true,
|
readableAll: this.config.readableAll,
|
||||||
writableAll: true
|
writableAll: this.config.writableAll
|
||||||
}, this.onStart.bind(this));
|
}, this.onStart.bind(this));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -33,6 +33,9 @@ class Defaults{
|
||||||
networkHost = (this.IPType == 'IPv6') ? '::1' : '127.0.0.1';
|
networkHost = (this.IPType == 'IPv6') ? '::1' : '127.0.0.1';
|
||||||
networkPort = 8000;
|
networkPort = 8000;
|
||||||
|
|
||||||
|
readableAll = false;
|
||||||
|
writableAll = false;
|
||||||
|
|
||||||
interface={
|
interface={
|
||||||
localAddress:false,
|
localAddress:false,
|
||||||
localPort:false,
|
localPort:false,
|
||||||
|
|
Loading…
Reference in a new issue