APIs

Show:

Constructor

ServerSideUnimplementedRequest

(
  • options
)

Parameters:

Methods

binaryStoreSize

() Number
Calculate the required size to store this object in a binary stream.

Returns:

Number:

decode

(
  • stream
  • [option]
)

decode the object from a binary stream

Parameters:

encode

(
  • stream
)

encode the object into a binary stream

Parameters:

getRandomInt

(
  • min
  • max
)
private

return a random integer value in the range of min inclusive and max exclusive

Parameters:

  • min Object
  • max Object

Returns:

:

isValid

() Boolean
verify that all object attributes values are valid according to schema

Returns:

Boolean:

make_debugLog

(
  • script_fullpath
)

Parameters:

  • script_fullpath Object

Returns:

returns a debugLog function that will write message to the console if the DEBUG environment variable indicates that the provided source file shall display debug trace

redirectToFile

(
  • tmpfile
  • action_func
  • callback
)

Parameters:

  • tmpfile String

    log file name to redirect console output.

  • action_func Function
    • the inner function to execute
  • callback Object

toString

() String

Returns:

String: