rfc:soap_get_location

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rfc:soap_get_location [2016/12/06 14:46] – created marijic.silviorfc:soap_get_location [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== PHP RFC: SoapClient __getLocation ====== ====== PHP RFC: SoapClient __getLocation ======
-  * Version: 0.1+  * Version: 0.3
   * Date: 2016-12-06   * Date: 2016-12-06
   * Author: Silvio Marijic <marijic.silvio@gmail.com>   * Author: Silvio Marijic <marijic.silvio@gmail.com>
Line 8: Line 8:
 ===== Introduction ===== ===== Introduction =====
  
-Current behaviour of setLocation() is a bit odd. It will return current location, but if new isn'provided it will set location to null. Adding a getLocation is a practical way of getting current location from client.+Currently setLocation() returns old location when called, but if new one is not provided it will unset location property.Adding a getLocation is a practical way of getting current location from client. It would be a convenient way to get location where next request will go directly from client instead of pulling that data from elsewhere, especially if location can change, for example when there is a fallback mechanism around SoapClient.
  
  
rfc/soap_get_location.1481035600.txt.gz · Last modified: 2017/09/22 13:28 (external edit)