gbox-sdk
    Preparing search index...

    Hierarchy

    • APIResource
      • Boxes
    Index

    Constructors

    Properties

    _client: GboxClient
    actions: GboxClient.V1.Boxes.Actions = ...
    android: GboxClient.V1.Boxes.Android = ...
    browser: GboxClient.V1.Boxes.Browser = ...
    fs: GboxClient.V1.Boxes.Fs = ...
    media: GboxClient.V1.Boxes.Media = ...
    proxy: GboxClient.V1.Boxes.Proxy = ...
    storage: GboxClient.V1.Boxes.Storage = ...

    Methods

    • Get the websocket url for the box. This endpoint provides the WebSocket URLs for executing shell commands and running code snippets in the box environment. These URLs allow real-time communication and data exchange with the box, enabling interactive terminal sessions and code execution.

      Parameters

      • boxID: string
      • Optionaloptions: RequestOptions

      Returns APIPromise<GboxClient.V1.BoxWebsocketURLResponse>

      const response = await client.v1.boxes.websocketURL(
      'c9bdc193-b54b-4ddb-a035-5ac0c598d32d',
      );