URL.Decode but not implemented in its source code

Post

Posted
Rating:
#1 (In Topic #433)
Trainee
Hello,

in the gb.web documentation, we can see the following methods :

Decode
Encode
FromString
Quote
<COLOR color="#FF0000">SetQuery</COLOR>
UnQuote
<COLOR color="#FF0000">UnsetQuery</COLOR>

thoses one that appears in red before, we can find them in the URL class into the gb.web component source code.
my question is, why we can call URL.Decode if there is no method Decode into its source code ?!

Thank you
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
 Welcome to the forum. I'm sorry but I don't understand the question.
Online now: No Back to the top

Post

Posted
Rating:
#3
Trainee
To do simple :) , juste take the source code of Gambas, and open the gb.web component in Gambas, take a look at the URL class to watch which method are available.
I wonder why this simple call :

Code (gambas)

  1. URL.Decode
is possible.
Online now: No Back to the top

Post

Posted
Rating:
#4
Trainee
Hi,

The decode method is in the gb.util.web url.class source code…

gb.web includes gb.util.web, see file (Include=gb.util.web):
https://gitlab.com/gam…omp/src/gb.web/.component

gb.web:
https://gitlab.com/gam…src/gb.web/.src/URL.class

gb.util.web:
https://gitlab.com/gam…b.util.web/.src/URL.class

I hope this helps…

 Cheers
Matt
Online now: No Back to the top

Post

Posted
Rating:
#5
Trainee
Oh thank you Matthew right now i understood :) !
Online now: No Back to the top
1 guest and 0 members have just viewed this.