Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

55 rindas
2.5 KiB

pirms 18 gadiem
pirms 18 gadiem
pirms 18 gadiem
pirms 18 gadiem
pirms 18 gadiem
pirms 18 gadiem
pirms 18 gadiem
pirms 18 gadiem
pirms 18 gadiem
pirms 18 gadiem
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>Module ibrowse_lib</title>
  5. <link rel="stylesheet" type="text/css" href="stylesheet.css">
  6. </head>
  7. <body bgcolor="white">
  8. <h1>Module ibrowse_lib</h1>
  9. Module with a few useful functions.
  10. <ul><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>
  11. <h2><a name="description">Description</a></h2>Module with a few useful functions
  12. <h2><a name="index">Function Index</a></h2>
  13. <table width="100%" border="1"><tr><td valign="top"><a href="#dec2hex-2">dec2hex/2</a></td><td>dec2hex taken from gtk.erl in std dist
  14. M = integer() -- number of hex digits required
  15. N = integer() -- the number to represent as hex.</td></tr>
  16. <tr><td valign="top"><a href="#decode_rfc822_date-1">decode_rfc822_date/1</a></td><td/></tr>
  17. <tr><td valign="top"><a href="#drv_ue-1">drv_ue/1</a></td><td/></tr>
  18. <tr><td valign="top"><a href="#drv_ue-2">drv_ue/2</a></td><td/></tr>
  19. <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>
  20. <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>
  21. </table>
  22. <h2><a name="functions">Function Details</a></h2>
  23. <h3><a name="dec2hex-2">dec2hex/2</a></h3>
  24. <p><tt>dec2hex(M::integer(), N::integer()) -&gt; string()</tt></p>
  25. <p>dec2hex taken from gtk.erl in std dist
  26. M = integer() -- number of hex digits required
  27. N = integer() -- the number to represent as hex</p>
  28. <h3><a name="decode_rfc822_date-1">decode_rfc822_date/1</a></h3>
  29. <tt>decode_rfc822_date(String) -&gt; term()
  30. </tt>
  31. <h3><a name="drv_ue-1">drv_ue/1</a></h3>
  32. <tt>drv_ue(Str) -&gt; term()
  33. </tt>
  34. <h3><a name="drv_ue-2">drv_ue/2</a></h3>
  35. <tt>drv_ue(Str, Port) -&gt; term()
  36. </tt>
  37. <h3><a name="status_code-1">status_code/1</a></h3>
  38. <p><tt>status_code(StatusCode::<a href="#type-status_code">status_code()</a>) -&gt; StatusDescription</tt>
  39. <ul><li><tt><a name="type-status_code">status_code()</a> = string() | integer()</tt></li><li><tt>StatusDescription = atom()</tt></li></ul></p>
  40. <p>Given a status code, returns an atom describing the status code.</p>
  41. <h3><a name="url_encode-1">url_encode/1</a></h3>
  42. <p><tt>url_encode(Str) -&gt; UrlEncodedStr</tt>
  43. <ul><li><tt>Str = string()</tt></li><li><tt>UrlEncodedStr = string()</tt></li></ul></p>
  44. <p>URL-encodes a string based on RFC 1738. Returns a flat list.</p>
  45. </body>
  46. </html>