@openiap/nodeapi / Exports / config
Class: config
Table of contents
Constructors
Properties
- BeginstreamDelay
- ChecksumCheckFiles
- ChecksumCheckPackages
- DoDumpToConsole
- DoPing
- EndstreamDelay
- SendFileHighWaterMark
- ThrottlerMS
- color
- defaultgrpcport
- defaultsocketport
- defaultwebport
- doDumpMessageHexBytesPerLine
- doDumpMessageHexLines
- doDumpMesssageStreams
- doDumpMesssages
- doDumpMesssagesIds
- doDumpMesssagesSeq
- doDumpRPCTraceIds
- doDumpStack
- doDumpTimestamp
- doDumpToFile
- filecounter
- filedata
- role
Methods
Constructors
constructor
• new config()
Properties
BeginstreamDelay
▪ Static
BeginstreamDelay: number
= 0
Defined in
ChecksumCheckFiles
▪ Static
ChecksumCheckFiles: boolean
= false
Defined in
ChecksumCheckPackages
▪ Static
ChecksumCheckPackages: boolean
= false
Defined in
DoDumpToConsole
▪ Static
DoDumpToConsole: boolean
= false
Defined in
DoPing
▪ Static
DoPing: boolean
= true
Defined in
EndstreamDelay
▪ Static
EndstreamDelay: number
= 0
Defined in
SendFileHighWaterMark
▪ Static
SendFileHighWaterMark: number
Defined in
ThrottlerMS
▪ Static
ThrottlerMS: number
= 0
Defined in
color
▪ Static
color: Object
Type declaration
Name | Type |
---|---|
BgBlack | string |
BgBlue | string |
BgCyan | string |
BgGreen | string |
BgMagenta | string |
BgRed | string |
BgWhite | string |
BgYellow | string |
Blink | string |
Bright | string |
Dim | string |
FgBlack | string |
FgBlue | string |
FgCyan | string |
FgGreen | string |
FgMagenta | string |
FgRed | string |
FgWhite | string |
FgYellow | string |
Hidden | string |
Reset | string |
Reverse | string |
Underscore | string |
Defined in
defaultgrpcport
▪ Static
defaultgrpcport: number
= 50051
Defined in
defaultsocketport
▪ Static
defaultsocketport: number
= 8080
Defined in
defaultwebport
▪ Static
defaultwebport: number
= 8080
Defined in
doDumpMessageHexBytesPerLine
▪ Static
doDumpMessageHexBytesPerLine: number
Defined in
doDumpMessageHexLines
▪ Static
doDumpMessageHexLines: number
= 50
Defined in
doDumpMesssageStreams
▪ Static
doDumpMesssageStreams: boolean
= false
Defined in
doDumpMesssages
▪ Static
doDumpMesssages: boolean
= false
Defined in
doDumpMesssagesIds
▪ Static
doDumpMesssagesIds: boolean
= true
Defined in
doDumpMesssagesSeq
▪ Static
doDumpMesssagesSeq: boolean
= true
Defined in
doDumpRPCTraceIds
▪ Static
doDumpRPCTraceIds: boolean
= false
Defined in
doDumpStack
▪ Static
doDumpStack: boolean
= false
Defined in
doDumpTimestamp
▪ Static
doDumpTimestamp: boolean
= false
Defined in
doDumpToFile
▪ Static
doDumpToFile: boolean
= false
Defined in
filecounter
▪ Static
filecounter: number
= 0
Defined in
filedata
▪ Static
filedata: string
= ""
Defined in
role
▪ Static
role: string
= "client"
Defined in
Methods
col
▸ Static
col(text
, c
): string
Parameters
Name | Type |
---|---|
text | string |
c | string |
Returns
string
Defined in
colrole
▸ Static
colrole(): string
Returns
string
Defined in
dumpdata
▸ Static
dumpdata(data
): void
Parameters
Name | Type |
---|---|
data | any |
Returns
void
Defined in
dumpmessage
▸ Static
dumpmessage(direction
, message
): void
Parameters
Name | Type |
---|---|
direction | string |
message | any |
Returns
void
Defined in
err
▸ Static
err(error
): void
Parameters
Name | Type |
---|---|
error | any |
Returns
void
Defined in
hex
▸ Static
hex(buffer
, bytes_per_line
, bytes_per_group
, radix
, littleEndian
): string
Parameters
Name | Type |
---|---|
buffer | any |
bytes_per_line | number |
bytes_per_group | number |
radix | number |
littleEndian | boolean |
Returns
string
Defined in
info
▸ Static
info(message
): void
Parameters
Name | Type |
---|---|
message | string |
Returns
void
Defined in
maxnumberlen
▸ Static
maxnumberlen(bytes
, radix
): number
Parameters
Name | Type |
---|---|
bytes | number |
radix | number |
Returns
number
Defined in
seq
▸ Static
seq(sequence
, id
, rid
): string
Parameters
Name | Type |
---|---|
sequence | number |
id | string |
rid | string |
Returns
string
Defined in
ts
▸ Static
ts(): string
Returns
string
Defined in
warn
▸ Static
warn(message
): void
Parameters
Name | Type |
---|---|
message | string |
Returns
void