Skip to content

Make skipInterceptor take a anon fn as param to make interception customisable  #13

@zakhenry

Description

@zakhenry

Ie change interface

skipInterceptor():NgRestAdapter.NgRestAdapterService;

to

skipInterceptor(shouldSkip?:ISkipInterceptorFunction):NgRestAdapter.NgRestAdapterService;

Where ISkipInterceptorFunction is

interface ISkipInterceptorFunction {
    (rejection:ng.IHttpPromiseCallbackArg<any>):boolean;
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions