ballerina.net.uri package
public function decode ( string url , string charset ) ( string , error )
Decodes the given URL
Parameter Name | Data Type | Description |
---|---|---|
url | string | URL to be decoded |
charset | string | Charactor set that URL to be decoded |
public function encode ( string url , string charset ) ( string , error )
Encodes the given URL
Parameter Name | Data Type | Description |
---|---|---|
url | string | URL to be encoded |
charset | string | Charactor set that URL to be encoded |