Execute javascript code from specified file with input/output interaction
Namespace: NReco.PhantomJSAssembly: NReco.PhantomJS (in NReco.PhantomJS.dll) Version: 1.0.2.0 (1.0.2.0)
public void Run(
string jsFile,
string[] jsArgs,
Stream inputStream,
Stream outputStream
)
public void Run(
string jsFile,
string[] jsArgs,
Stream inputStream,
Stream outputStream
)
Public Sub Run (
jsFile As String,
jsArgs As String(),
inputStream As Stream,
outputStream As Stream
)
Public Sub Run (
jsFile As String,
jsArgs As String(),
inputStream As Stream,
outputStream As Stream
)
public:
void Run(
String^ jsFile,
array<String^>^ jsArgs,
Stream^ inputStream,
Stream^ outputStream
)
public:
void Run(
String^ jsFile,
array<String^>^ jsArgs,
Stream^ inputStream,
Stream^ outputStream
)
member Run :
jsFile : string *
jsArgs : string[] *
inputStream : Stream *
outputStream : Stream -> unit
member Run :
jsFile : string *
jsArgs : string[] *
inputStream : Stream *
outputStream : Stream -> unit
Parameters
- jsFile
- Type: System String
URL or local path to javascript file to execute
- jsArgs
- Type: System String
arguments for javascript code (optional; can be null)
- inputStream
- Type: System.IO Stream
input stream for stdin data (can be null)
- outputStream
- Type: System.IO Stream
output stream for stdout data (can be null)