Functions of ballerina.net.uri package
public function encode(string url) (string)
Encodes the given URL
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
url | string | URL to be encoded |
Return Parameters:
Return Variable | Data Type | Description |
---|---|---|
string | The encoded url |