Stone.js API
    Preparing search index...
    • A class decorator for registering a GCP Cloud Functions HTTP adapter in the Stone.js framework.

      The decorator modifies the gcpCloudFunctionsHttpAdapterBlueprint by merging the provided options with the default configuration. It also registers the blueprint to the target class using the addBlueprint utility.

      Type Parameters

      • T extends ClassType = ClassType

        The type of the class being decorated, defaulting to ClassType.

      Parameters

      Returns ClassDecorator

      A class decorator function.

      import { GcpCloudFunctionsHttp } from '@stone-js/gcp-cloud-functions-http-adapter';

      @GcpCloudFunctionsHttp({
      url: 'http://localhost:3000',
      default: true,
      })
      class MyHttpService {
      // Service implementation
      }