Logo Xantham

TscChannel Type

SYNC TypeScript compiler speaking the sync MessagePack protocol over redirected stdio.

Constructors

Constructor Description

TscChannel(exePath, cwd, ?callbacks)

Full Usage: TscChannel(exePath, cwd, ?callbacks)

Parameters:
Returns: TscChannel
exePath : string
cwd : string
?callbacks : IDictionary<string, TsGoCallback>
Returns: TscChannel

Instance members

Instance member Description

this.Diagnostics

Full Usage: this.Diagnostics

Returns: string
Returns: string

this.Initialize

Full Usage: this.Initialize

Must be called once before anything else

this.Request

Full Usage: this.Request

Parameters:
    method : string - The protocol method name.
    json : JsonObject - JSON payload

Returns: byte[] Response in bytes
Modifiers: inline
method : string

The protocol method name.

json : JsonObject

JSON payload

Returns: byte[]

Response in bytes

this.Request

Full Usage: this.Request

Parameters:
    method : string - The protocol method name.
    json : string - UTF-8 JSON payload

Returns: byte[] Response in bytes
method : string

The protocol method name.

json : string

UTF-8 JSON payload

Returns: byte[]

Response in bytes

this.Request

Full Usage: this.Request

Parameters:
    method : string - The protocol method name.
    payload : byte[] - payload

Returns: byte[] Response in bytes
method : string

The protocol method name.

payload : byte[]

payload

Returns: byte[]

Response in bytes

this.RequestJson

Full Usage: this.RequestJson

Parameters:
    method : string - The protocol method name.
    json : JsonObject - JSON payload

Returns: string voption Response in UTF-8 JSON
Modifiers: inline
method : string

The protocol method name.

json : JsonObject

JSON payload

Returns: string voption

Response in UTF-8 JSON

this.RequestJson

Full Usage: this.RequestJson

Parameters:
    method : string - The protocol method name.
    json : string - JSON payload

Returns: string voption Response in UTF-8 JSON
method : string

The protocol method name.

json : string

JSON payload

Returns: string voption

Response in UTF-8 JSON

Type something to start searching.