UNPKG

ali-mns-sdk

Version:

The nodejs SDK for aliyun mns service

25 lines (24 loc) 697 B
import { ISubscription } from './Interfaces'; import { OpenStack } from './OpenStack'; import { Topic } from './Topic'; export declare class Subscription implements ISubscription { constructor(name: string, topic: Topic); getName(): string; getTopic(): Topic; getAttrsP(): any; setAttrsP(options: any): any; static NotifyStrategy: { BACKOFF_RETRY: string; EXPONENTIAL_DECAY_RETRY: string; }; static NotifyContentFormat: { XML: string; SIMPLIFIED: string; }; private makeAttrURL; protected _openStack: OpenStack; private _name; private _topic; private _urlAttr; private _pattern; }