-
Notifications
You must be signed in to change notification settings - Fork 191
/
ibrowse_lib.html
114 lines (95 loc) · 5.78 KB
/
ibrowse_lib.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Module ibrowse_lib</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>
<h1>Module ibrowse_lib</h1>
<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Module with a few useful functions.
<h2><a name="description">Description</a></h2>Module with a few useful functions
<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#decode_base64-1">decode_base64/1</a></td><td>Implements the base64 decoding algorithm.</td></tr>
<tr><td valign="top"><a href="#decode_rfc822_date-1">decode_rfc822_date/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#do_trace-2">do_trace/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#do_trace-3">do_trace/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#do_trace-3">do_trace/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#encode_base64-1">encode_base64/1</a></td><td>Implements the base64 encoding algorithm.</td></tr>
<tr><td valign="top"><a href="#get_trace_status-2">get_trace_status/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#get_value-2">get_value/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#get_value-3">get_value/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#parse_url-1">parse_url/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#printable_date-0">printable_date/0</a></td><td></td></tr>
<tr><td valign="top"><a href="#printable_date-1">printable_date/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#status_code-1">status_code/1</a></td><td>Given a status code, returns an atom describing the status code.</td></tr>
<tr><td valign="top"><a href="#url_encode-1">url_encode/1</a></td><td>URL-encodes a string based on RFC 1738.</td></tr>
</table>
<h2><a name="functions">Function Details</a></h2>
<h3 class="function"><a name="decode_base64-1">decode_base64/1</a></h3>
<div class="spec">
<p><tt>decode_base64(List::In) -> Out | <a href="#type-exit">exit</a>({error, invalid_input})</tt>
<ul class="definitions"><li><tt>In = string() | binary()</tt></li><li><tt>Out = string() | binary()</tt></li></ul></p>
</div><p>Implements the base64 decoding algorithm. The output data type matches in the input data type.</p>
<h3 class="function"><a name="decode_rfc822_date-1">decode_rfc822_date/1</a></h3>
<div class="spec">
<p><tt>decode_rfc822_date(String) -> any()</tt></p>
</div>
<h3 class="function"><a name="do_trace-2">do_trace/2</a></h3>
<div class="spec">
<p><tt>do_trace(Fmt, Args) -> any()</tt></p>
</div>
<h3 class="function"><a name="do_trace-3">do_trace/3</a></h3>
<div class="spec">
<p><tt>do_trace(X1, Fmt, Args) -> any()</tt></p>
</div>
<h3 class="function"><a name="do_trace-3">do_trace/3</a></h3>
<div class="spec">
<p><tt>do_trace(X1, Fmt, Args) -> any()</tt></p>
</div>
<h3 class="function"><a name="encode_base64-1">encode_base64/1</a></h3>
<div class="spec">
<p><tt>encode_base64(List::In) -> Out</tt>
<ul class="definitions"><li><tt>In = string() | binary()</tt></li><li><tt>Out = string() | binary()</tt></li></ul></p>
</div><p>Implements the base64 encoding algorithm. The output data type matches in the input data type.</p>
<h3 class="function"><a name="get_trace_status-2">get_trace_status/2</a></h3>
<div class="spec">
<p><tt>get_trace_status(Host, Port) -> any()</tt></p>
</div>
<h3 class="function"><a name="get_value-2">get_value/2</a></h3>
<div class="spec">
<p><tt>get_value(Tag, TVL) -> any()</tt></p>
</div>
<h3 class="function"><a name="get_value-3">get_value/3</a></h3>
<div class="spec">
<p><tt>get_value(Tag, TVL, DefVal) -> any()</tt></p>
</div>
<h3 class="function"><a name="parse_url-1">parse_url/1</a></h3>
<div class="spec">
<p><tt>parse_url(Url) -> any()</tt></p>
</div>
<h3 class="function"><a name="printable_date-0">printable_date/0</a></h3>
<div class="spec">
<p><tt>printable_date() -> any()</tt></p>
</div>
<h3 class="function"><a name="printable_date-1">printable_date/1</a></h3>
<div class="spec">
<p><tt>printable_date(Now) -> any()</tt></p>
</div>
<h3 class="function"><a name="status_code-1">status_code/1</a></h3>
<div class="spec">
<p><tt>status_code(StatusCode::<a href="#type-status_code">status_code()</a>) -> StatusDescription</tt>
<ul class="definitions"><li><tt><a name="type-status_code">status_code()</a> = string() | integer()</tt></li><li><tt>StatusDescription = atom()</tt></li></ul></p>
</div><p>Given a status code, returns an atom describing the status code.</p>
<h3 class="function"><a name="url_encode-1">url_encode/1</a></h3>
<div class="spec">
<p><tt>url_encode(Str) -> UrlEncodedStr</tt>
<ul class="definitions"><li><tt>Str = string()</tt></li><li><tt>UrlEncodedStr = string()</tt></li></ul></p>
</div><p>URL-encodes a string based on RFC 1738. Returns a flat list.</p>
<hr>
<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc, Nov 6 2015, 11:40:24.</i></p>
</body>
</html>