Skip to content
Developer Preview

MspHandshake

The only public state before initialized: callers cannot send traffic.

Property Type Stability Presence Description
child MuseServeChild required
exited Promise<ProcessExit> required
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"
}