Functions of ballerina.net.uri package
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 | string: The encoded url |