# Module ibrowse_lib

- Description
- Function Index
- Function Details

Module with a few useful functions.

## Description

Module with a few useful functions

## Function Index

decode_base64/1 | Implements the base64 decoding algorithm.
decode_rfc822_date/1 |
do_trace/2 |
do_trace/3 |
do_trace/3 |
encode_base64/1 | Implements the base64 encoding algorithm.
get_trace_status/2 |
get_value/2 |
get_value/3 |
parse_url/1 |
printable_date/0 |
printable_date/1 |
status_code/1 | Given a status code, returns an atom describing the status code.
url_encode/1 | URL-encodes a string based on RFC 1738.

## Function Details

### decode_base64/1

`decode_base64(List::In) -> Out | exit({error, invalid_input})`

- `In = string() | binary()`
- `Out = string() | binary()`

Implements the base64 decoding algorithm. The output data type matches in the input data type.

### decode_rfc822_date/1

`decode_rfc822_date(String) -> any()`

### do_trace/2

`do_trace(Fmt, Args) -> any()`

### do_trace/3

`do_trace(X1, Fmt, Args) -> any()`

### do_trace/3

`do_trace(X1, Fmt, Args) -> any()`

### encode_base64/1

`encode_base64(List::In) -> Out`

- `In = string() | binary()`
- `Out = string() | binary()`

Implements the base64 encoding algorithm. The output data type matches in the input data type.

### get_trace_status/2

`get_trace_status(Host, Port) -> any()`

### get_value/2

`get_value(Tag, TVL) -> any()`

### get_value/3

`get_value(Tag, TVL, DefVal) -> any()`

### parse_url/1

`parse_url(Url) -> any()`

### printable_date/0

`printable_date() -> any()`

### printable_date/1

`printable_date(Now) -> any()`

### status_code/1

`status_code(StatusCode::status_code()) -> StatusDescription`

- `status_code() = string() | integer()`
- `StatusDescription = atom()`

Given a status code, returns an atom describing the status code.

### url_encode/1

`url_encode(Str) -> UrlEncodedStr`

- `Str = string()`
- `UrlEncodedStr = string()`

URL-encodes a string based on RFC 1738. Returns a flat list.

Generated by EDoc, Nov 6 2015, 11:40:24.