Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

104 lines (45 sloc) 2.311 kB

Module hackney_util

Function Index

char_to_lower/1Convert [A-Z] characters to lowercase.
char_to_upper/1Convert [a-z] characters to uppercase.
is_ipv6/1
join/2
to_binary/1
to_hex/1
to_lower/1Convert a binary string to lowercase.
to_upper/1
token/2Parse a token.
token_ci/2Parse a case-insensitive token.

Function Details

char_to_lower/1

char_to_lower(Ch::char()) -> char()



Convert [A-Z] characters to lowercase.

char_to_upper/1

char_to_upper(Ch::char()) -> char()



Convert [a-z] characters to uppercase.

is_ipv6/1

is_ipv6(Host) -> any()

join/2

join(L, Separator) -> any()

to_binary/1

to_binary(V) -> any()

to_hex/1

to_hex(Bin) -> any()

to_lower/1

to_lower(L::binary()) -> binary()



Convert a binary string to lowercase.

to_upper/1

to_upper(U) -> any()

token/2

token(Data::binary(), Fun::function()) -> any()



Parse a token.

token_ci/2

token_ci(Data::binary(), Fun::function()) -> any()



Parse a case-insensitive token.

Changes all characters to lowercase.

Jump to Line
Something went wrong with that request. Please try again.