AngularTS
    Preparing search index...

    Interface RestBackend

    Backend abstraction used by RestService.

    Implement this interface to route REST operations through $http, IndexedDB, the Cache API, a test double, or a composed backend such as CachedRestBackend.

    interface RestBackend {
        request<T>(request: RestRequest): Promise<RestResponse<T>>;
    }

    Implemented by

    Index

    Methods

    Methods

    • Execute one normalized REST request.

      Type Parameters

      • T

      Parameters

      • request: RestRequest

        Request produced by RestService.

      Returns Promise<RestResponse<T>>

      A response containing the raw payload for entity mapping.