Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Is there a way to get a handle on final request being submitted to the server to add additional request headers?

    Is there a way to get handle on final request to inject additional headers (application specific) before submitting to the server? I can think of RPCManager.sendRequest but not sure how to get handle on the request object there?

    I understand transformRequest mechanism on DataSource but that method is being already used by multiple datasources in the application to perform datasource specific logic.

    Regards.

    #2
    DataSource transformRequest is the way to do this. If you already have other handlers in place, just add this additional logic there.

    Comment

    Working...
    X