What about this subject? Anyone have any opinion? Cause I'm thinking about changing contentData to object.
Thanks, Piotr On Wed, May 8, 2019, 6:34 AM Piotr Zarzycki <[email protected]> wrote: > Another thing is why there is so many places where we are internally using > private variables instead public ? It is misleading to me - look into send > method - Anyone remember why it was done like that ? > Or for example such sets: > > url = _url; > > śr., 8 maj 2019 o 06:20 Piotr Zarzycki <[email protected]> > napisał(a): > >> Hi Guys, >> >> I was wondering why contentData property is type String in HTTPService >> class ? Behind the stage we are using XMLHttpRequest [1] which seems to >> accept object in general. >> >> [1] >> https://github.com/apache/royale-asjs/blob/d01a9c710341739c9cc21939ba7a1ec9a73e2197/frameworks/projects/Network/src/main/royale/org/apache/royale/net/HTTPService.as#L634 >> >> Thanks, >> -- >> >> Piotr Zarzycki >> >> Patreon: *https://www.patreon.com/piotrzarzycki >> <https://www.patreon.com/piotrzarzycki>* >> > > > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > <https://www.patreon.com/piotrzarzycki>* >
