Skip to main content

Interface: ProviderConnectionShellAccessSession

Defined in: packages/extension-api/src/extension-api.d.ts:839

Callbacks for interaction with shell session

Properties

onData

onData: Event<ProviderConnectionShellAccessData>

Defined in: packages/extension-api/src/extension-api.d.ts:840


onEnd

onEnd: Event<void>

Defined in: packages/extension-api/src/extension-api.d.ts:842


onError

onError: Event<ProviderConnectionShellAccessError>

Defined in: packages/extension-api/src/extension-api.d.ts:841

Methods

close()

close(): void

Defined in: packages/extension-api/src/extension-api.d.ts:845

Returns

void


resize()

resize(dimensions): void

Defined in: packages/extension-api/src/extension-api.d.ts:844

Parameters

dimensions

ProviderConnectionShellDimensions

Returns

void


write()

write(data): void

Defined in: packages/extension-api/src/extension-api.d.ts:843

Parameters

data

string | Uint8Array

Returns

void