Update README.md
Add documentation of `delimiter` variable
This commit is contained in:
parent
17f7f111ff
commit
2dca400678
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,7 @@ Set these variables in the `ipc.config` scope to overwrite or set default values
|
||||||
networkPort : 8000,
|
networkPort : 8000,
|
||||||
encoding : 'utf8',
|
encoding : 'utf8',
|
||||||
rawBuffer : false,
|
rawBuffer : false,
|
||||||
|
delimiter : '\f',
|
||||||
sync : false,
|
sync : false,
|
||||||
silent : false,
|
silent : false,
|
||||||
logInColor : true,
|
logInColor : true,
|
||||||
|
@ -128,6 +129,7 @@ Set these variables in the `ipc.config` scope to overwrite or set default values
|
||||||
| 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 |
|
||||||
| 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. |
|
||||||
| sync | synchronous requests. Clients will not send new requests until the server answers. |
|
| sync | synchronous requests. Clients will not send new requests until the server answers. |
|
||||||
| silent | turn on/off logging default is false which means logging is on |
|
| silent | turn on/off logging default is false which means logging is on |
|
||||||
| logInColor | turn on/off util.inspect colors for ipc.log |
|
| logInColor | turn on/off util.inspect colors for ipc.log |
|
||||||
|
|
Loading…
Reference in a new issue