Interface Agent

转发请求, 不解析请求内容

interface Agent {
    type: AgentType;
    _request?(dataSource, options): Observable<any>;
    error(err): void;
    request(dataSource, options): Promise<any>;
    selectError(): Observable<any>;
    selectStatus(): Observable<AgentStatus | AgentStatusEnum>;
}

Implemented by

Properties

type: AgentType

Methods

Generated using TypeDoc