MspHandshake
The only public state before initialized: callers cannot send traffic.
Properties
Section titled “Properties”| Property | Type | Stability | Presence | Description |
|---|---|---|---|---|
child |
MuseServeChild |
required | ||
exited |
Promise<ProcessExit> |
required |
Methods
Section titled “Methods”| Method | Signature | Stability | Description |
|---|---|---|---|
constructor |
new MspHandshake(options: SpawnMspConnectionOptions) |
||
close |
close(): Promise<ProcessExit> |
||
initialize |
initialize(params: InitializeParams): Promise<SpawnedMspConnection> |
||
onNotification |
onNotification(handler: NotificationHandler): void |
||
onProtocolError |
onProtocolError(handler: ProtocolErrorHandler): void |
||
onServerRequest |
onServerRequest(handler: ServerRequestHandler): void |
Source
clients/sdk-ts/src/connection/spawn.ts:541
{ "kind": "Class", "canonicalPath": "MspHandshake"}