Skip to content

$http interceptors? #19

@laurelnaiad

Description

@laurelnaiad

Consider using http interceptors to get updates during regular requests.

basic idea:

request interceptor adds serial #.
server checks if updates are available, if so sends back "do updates message".
response interceptor sees that updates are necessary, adds request for updates to original request along with known states.
new response includes routing updates and original response
response interceptor handles the routing updates, then allows application to process the response as normal

if there are no updates, then minimal cost

value -- obviates need for client app author to worry about updates unless they need them to happen without the user doing any $http requests to the server
implications -- implies that the web app and backseatDriver are integrated (one proxies the other or one is a module of the other)

this may not be worth the trouble, so hold off for now...

Metadata

Metadata

Assignees

No one assigned

    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