ballerina/url

Package Overview

This package provides the necessary utilities, which are required to encode and decode a URL or part of a URL.

For information on the operations, which you can perform with this package, see the below Functions. For an example on the usage of the operations, see the URL Encode/Decode Operations.

Functions

[2]

decode

Decodes the given string value into a string using the provided charset.

encode

Encodes the given string value into a string using the provided charset.

Errors

[1]

Error

Represents the URL error.