sveltekit-service-manager - v1.1.0
    Preparing search index...

    Function Service

    • This method is used to call the services that expose routes to the client

      Parameters

      • service: "ping"

        name of the service

      • config: Partial<{ entryPoint: string; executor: typeof __type; params: Page["params"] }> = {}

      Returns {
          get entryPoint(): string;
          call<R = any>(
              route: `/${string}`,
              data?: object | BodyInit | null,
              requestInit?: Omit<RequestInit, "body">,
          ): Promise<R>;
          raw(
              route: string,
              requestInit?: Omit<RequestInit, "body"> & {
                  body?: object | BodyInit | null;
              },
          ): Promise<Response>;
          route(path: `/${string}`): string;
      }