UNPKG

@ciao-lang/ts-ciao-interface

Version:

Simple Ciao interface for node.

28 lines 11.6 kB
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="theme-color" content="#273f79"/><link rel="stylesheet" href="lpdoc.css" type="text/css"/><script type="text/javascript" src="lpdoc.js"></script><title>Common grammar definitions for HTTP &mdash; The Ciao System v1.22</title></head><body><div class="lpdoc-page fixleftbar"><a href="#" id="sidebar-toggle-button" class="lpdoc-navbutton"><span id="sidebar-button-arrow">&#9776;</span></a><div id="sidebar" class="lpdoc-sidebar"><div style="height: 40px; margin-left: auto; margin-right: auto"><img src="ciao-logo_autofig.png" width=auto height=100%></div><div class="lpdoc-nav"><span class="lpdoc-on-right"><a class="lpdoc-navbutton" href="http_doc.html">&#x2191;</a><a class="lpdoc-navbutton" href="http_date.html">&#x2190;</a><a class="lpdoc-navbutton" href="pillow_doc.html">&#x2192;</a><a class="lpdoc-navbutton" href="ciaosearch.html">&#x1F50D;</a></span><span><a href="ciaofulltoc.html">TOC</a></span></div><hr></hr><ul class="lpdoc-itemize-sectpath"><li><a href="ciao.html">The Ciao System</a> &raquo;<br/> </li><li><a href="ExtraLibs.html">PART VIII - Additional libraries</a> &raquo;<br/> </li><li><a href="http_doc.html">HTTP client/server libraries</a> &raquo;<br/> </li><li><a href=""><strong>Common grammar definitions for HTTP</strong></a></li></ul><hr></hr><em>ON THIS PAGE</em><ul><li><a href="#Usage and interface">Usage and interface</a></li><li><a href="#Documentation on exports">Documentation on exports</a></li><li><a href="#Documentation on imports">Documentation on imports</a></li></ul></div><div class="lpdoc-main"><div id=""><h1>Common grammar definitions for HTTP</h1><a class="lpdoc-idx-anchor" href="ciaosearch.html#http_grammar"></a> <strong>Author(s):</strong> <a class="lpdoc-idx-anchor" id="The Ciao Development Team" href="ciaosearch.html#The Ciao Development Team">The Ciao Development Team</a>.<p> <p>Some grammar definitions for the HTTP protocol.<br/><div id="Usage and interface"><h2>Usage and interface</h2><div class="lpdoc-cartouche"><ul><li><strong>Library usage:</strong><br/><tt>:- use_module(library(http/http_grammar)).</tt><li><strong>Exports:</strong><br/><ul class="lpdoc-itemize-minus"><li><em>Predicates:</em><br/><a class="lpdoc-idx-anchor" id="0" href="#PARSING/2"><tt>PARSING/2</tt></a>, <a class="lpdoc-idx-anchor" id="1" href="#PRINTING/2"><tt>PRINTING/2</tt></a>, <a class="lpdoc-idx-anchor" id="2" href="#loalpha/3"><tt>loalpha/3</tt></a>, <a class="lpdoc-idx-anchor" id="3" href="#upalpha/3"><tt>upalpha/3</tt></a>, <a class="lpdoc-idx-anchor" id="4" href="#digit/3"><tt>digit/3</tt></a>, <a class="lpdoc-idx-anchor" id="5" href="#http_sp/2"><tt>http_sp/2</tt></a>, <a class="lpdoc-idx-anchor" id="6" href="#http_lws/2"><tt>http_lws/2</tt></a>, <a class="lpdoc-idx-anchor" id="7" href="#http_lws0/2"><tt>http_lws0/2</tt></a>, <a class="lpdoc-idx-anchor" id="8" href="#http_crlf/2"><tt>http_crlf/2</tt></a>, <a class="lpdoc-idx-anchor" id="9" href="#integer_str/3"><tt>integer_str/3</tt></a>, <a class="lpdoc-idx-anchor" id="10" href="#parse_integer/3"><tt>parse_integer/3</tt></a>, <a class="lpdoc-idx-anchor" id="11" href="#http_token/3"><tt>http_token/3</tt></a>, <a class="lpdoc-idx-anchor" id="12" href="#http_lo_up_token/3"><tt>http_lo_up_token/3</tt></a>, <a class="lpdoc-idx-anchor" id="13" href="#http_line/3"><tt>http_line/3</tt></a>, <a class="lpdoc-idx-anchor" id="14" href="#http_line_atm/3"><tt>http_line_atm/3</tt></a>, <a class="lpdoc-idx-anchor" id="15" href="#http_lines/3"><tt>http_lines/3</tt></a>, <a class="lpdoc-idx-anchor" id="16" href="#http_field/3"><tt>http_field/3</tt></a>, <a class="lpdoc-idx-anchor" id="17" href="#http_auth_params/3"><tt>http_auth_params/3</tt></a>, <a class="lpdoc-idx-anchor" id="18" href="#http_http/4"><tt>http_http/4</tt></a>, <a class="lpdoc-idx-anchor" id="19" href="#http_status_line/3"><tt>http_status_line/3</tt></a>, <a class="lpdoc-idx-anchor" id="20" href="#http_media_type/5"><tt>http_media_type/5</tt></a>, <a class="lpdoc-idx-anchor" id="21" href="#http_type_params/3"><tt>http_type_params/3</tt></a>. </ul></ul></div></div><div id="Documentation on exports"><h2>Documentation on exports</h2><div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="PARSING/2" href="ciaosearch.html#PARSING/2">PARSING/2</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="PRINTING/2" href="ciaosearch.html#PRINTING/2">PRINTING/2</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="loalpha/3" href="ciaosearch.html#loalpha/3">loalpha/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="upalpha/3" href="ciaosearch.html#upalpha/3">upalpha/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="digit/3" href="ciaosearch.html#digit/3">digit/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_sp/2" href="ciaosearch.html#http_sp/2">http_sp/2</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_lws/2" href="ciaosearch.html#http_lws/2">http_lws/2</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_lws0/2" href="ciaosearch.html#http_lws0/2">http_lws0/2</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_crlf/2" href="ciaosearch.html#http_crlf/2">http_crlf/2</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="integer_str/3" href="ciaosearch.html#integer_str/3">integer_str/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="parse_integer/3" href="ciaosearch.html#parse_integer/3">parse_integer/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_token/3" href="ciaosearch.html#http_token/3">http_token/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_lo_up_token/3" href="ciaosearch.html#http_lo_up_token/3">http_lo_up_token/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_line/3" href="ciaosearch.html#http_line/3">http_line/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_line_atm/3" href="ciaosearch.html#http_line_atm/3">http_line_atm/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_lines/3" href="ciaosearch.html#http_lines/3">http_lines/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_field/3" href="ciaosearch.html#http_field/3">http_field/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_auth_params/3" href="ciaosearch.html#http_auth_params/3">http_auth_params/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_http/4" href="ciaosearch.html#http_http/4">http_http/4</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_status_line/3" href="ciaosearch.html#http_status_line/3">http_status_line/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_media_type/5" href="ciaosearch.html#http_media_type/5">http_media_type/5</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> <div><div class="lpdoc-defname"><span class="lpdoc-predtag">PREDICATE</span><a class="lpdoc-idx-anchor" id="http_type_params/3" href="ciaosearch.html#http_type_params/3">http_type_params/3</a></div><div class="lpdoc-deftext">No further documentation available for this predicate.</div></div><p> </div><div id="Documentation on imports"><h2>Documentation on imports</h2>This module has the following direct dependencies:<ul class="lpdoc-itemize-minus"><li><em>System library modules:</em><br/><a class="lpdoc-idx-anchor" id="22" href="strings.html"><tt>strings</tt></a>. <li><em>Packages:</em><br/><a class="lpdoc-idx-anchor" id="23" href="ciaosearch.html#prelude"><tt>prelude</tt></a>, <a class="lpdoc-idx-anchor" id="24" href="ciaosearch.html#initial"><tt>initial</tt></a>, <a class="lpdoc-idx-anchor" id="25" href="condcomp_doc.html"><tt>condcomp</tt></a>, <a class="lpdoc-idx-anchor" id="26" href="assertions_doc.html"><tt>assertions</tt></a>, <a class="lpdoc-idx-anchor" id="27" href="ciaosearch.html#assertions/assertions_basic"><tt>assertions/assertions_basic</tt></a>, <a class="lpdoc-idx-anchor" id="28" href="isomodes_doc.html"><tt>isomodes</tt></a>, <a class="lpdoc-idx-anchor" id="29" href="dcg_doc.html"><tt>dcg</tt></a>, <a class="lpdoc-idx-anchor" id="30" href="doccomments_doc.html"><tt>doccomments</tt></a>. </ul></div></div><div class="lpdoc-footer">Generated with LPdoc using Ciao</div></div><div class="lpdoc-clearer"></div></div></body></html>