TscChannel Type
SYNC TypeScript compiler speaking the sync MessagePack protocol over redirected stdio.
Constructors
| Constructor |
Description
|
Full Usage:
TscChannel(exePath, cwd, ?callbacks)
Parameters:
string
cwd : string
?callbacks : IDictionary<string, TsGoCallback>
Returns: TscChannel
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.Diagnostics
Returns: string
|
|
Full Usage:
this.Initialize
|
Must be called once before anything else |
Full Usage:
this.Request
Parameters:
string
-
The protocol method name.
json : JsonObject
-
JSON payload
Returns: byte[]
Response in bytes
Modifiers: inline |
|
Full Usage:
this.Request
Parameters:
string
-
The protocol method name.
json : string
-
UTF-8 JSON payload
Returns: byte[]
Response in bytes
|
|
Full Usage:
this.Request
Parameters:
string
-
The protocol method name.
payload : byte[]
-
payload
Returns: byte[]
Response in bytes
|
|
Full Usage:
this.RequestJson
Parameters:
string
-
The protocol method name.
json : JsonObject
-
JSON payload
Returns: string voption
Response in UTF-8 JSON
Modifiers: inline |
|
Full Usage:
this.RequestJson
Parameters:
string
-
The protocol method name.
json : string
-
JSON payload
Returns: string voption
Response in UTF-8 JSON
|
|