http_uri(3erl)

πŸŽ€ NAME πŸŽ€

okay so bestie, this is http_uri(3erl) from the Erlang Module Definition manual, and it’s serving old-school URI utility vibes πŸ’…

  • http_uri β€” Old URI utility module, use uri_string instead

✨ DESCRIPTION ✨

This module is deprecated since OTP 23. Use the module uri_string to properly handle URIs β€” that’s the recommended module since OTP 21. Periodt πŸ’–


🌸 DATA TYPES 🌸

Type definitions that are used more than once in this module:

  • boolean() = true | false
  • string() = list of ASCII characters

πŸ¦‹ URI DATA TYPES πŸ¦‹

Type definitions that are related to URI:

uri() = string() | binary():

Syntax according to the URI definition in RFC 3986, for example, "http://www.erlang.org/" ✨

For more information about URI, see RFC 3986.


πŸ‘‘ EXPORTS πŸ‘‘

πŸ’– decode(HexEncodedURI) -> URI

decode(HexEncodedURI) -> URI

Types:

  • HexEncodedURI = string() | binary() - A possibly hexadecimal encoded URI
  • URI = uri()

Decodes a possibly hexadecimal encoded URI. Slay πŸ’…


πŸ’– encode(URI) -> HexEncodedURI

encode(URI) -> HexEncodedURI

Types:

  • URI = uri()
  • HexEncodedURI = string() | binary() - Hexadecimal encoded URI

Encodes a hexadecimal encoded URI. Iconic behavior, honestly 🫢


Okay bye bestie πŸ«ΆπŸ’– β€” this http_uri(3erl) page comes from Ericsson AB, with inets 8.3.1.2, and the footer does not list a separate date, so that’s literally all the deets it gives us 😭✨

πŸ“¦ where this page comes from