@digitalocean/dots - v1.0.1
    Preparing search index...

    Builds and executes requests for operations under /v2/apps/{app_-id}/components/{component_name}/exec

    interface ExecRequestBuilder {
        get(
            requestConfiguration?: RequestConfiguration<
                ExecRequestBuilderGetQueryParameters,
            >,
        ): Promise<undefined | Apps_get_exec_response>;
        toGetRequestInformation(
            requestConfiguration?: RequestConfiguration<
                ExecRequestBuilderGetQueryParameters,
            >,
        ): RequestInformation;
        withUrl(rawUrl: string): ExecRequestBuilder;
    }

    Hierarchy

    Index

    Methods

    • Returns a websocket URL that allows sending/receiving console input and output to a component of the active deployment if one exists.

      Parameters

      Returns Promise<undefined | Apps_get_exec_response>

      error when the service returns a 401 status code

      error when the service returns a 404 status code

      error when the service returns a 429 status code

      error when the service returns a 500 status code

      error when the service returns a 4XX or 5XX status code

    • Parameters

      • rawUrl: string

      Returns ExecRequestBuilder