package.dist.src.internal.cache-control-client.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
Client SDK for Momento services
The newest version!
import { CreateCache, DeleteCache, ListCaches, CacheFlush, CredentialProvider } from '..';
import { Configuration } from '../config/configuration';
export interface ControlClientProps {
configuration: Configuration;
credentialProvider: CredentialProvider;
}
export declare class CacheControlClient {
private readonly clientWrapper;
private readonly interceptors;
private static readonly REQUEST_TIMEOUT_MS;
private readonly logger;
private readonly cacheServiceErrorMapper;
/**
* @param {ControlClientProps} props
*/
constructor(props: ControlClientProps);
close(): void;
createCache(name: string): Promise;
deleteCache(name: string): Promise;
flushCache(cacheName: string): Promise;
private sendFlushCache;
listCaches(): Promise;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy