1899 lines
83 KiB
HTML
1899 lines
83 KiB
HTML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<!-- This file is generated by Nim. -->
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<!-- Favicon -->
|
|
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
|
|
|
|
<!-- Google fonts -->
|
|
<link href='https://fonts.googleapis.com/css?family=Raleway:400,600,900' rel='stylesheet' type='text/css'/>
|
|
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
|
|
|
|
<!-- CSS -->
|
|
<title>Module http_client</title>
|
|
<style type="text/css" >
|
|
/*
|
|
Stylesheet for use with Docutils/rst2html.
|
|
|
|
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
|
customize this style sheet.
|
|
|
|
Modified from Chad Skeeters' rst2html-style
|
|
https://bitbucket.org/cskeeters/rst2html-style/
|
|
|
|
Modified by Boyd Greenfield
|
|
*/
|
|
/* SCSS variables */
|
|
/* Text weights */
|
|
/* Body colors */
|
|
/* Text colors */
|
|
/* Link colors */
|
|
/* Syntax highlighting colors */
|
|
/* Pct changes */
|
|
/* Mixins */
|
|
/* Body/layout */
|
|
html {
|
|
font-size: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
-ms-text-size-adjust: 100%; }
|
|
|
|
/* Where we want fancier font if available */
|
|
h1, h2, h3, h4, h5, h6, p.module-desc, table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
|
|
font-family: "Raleway", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important; }
|
|
|
|
h1.title {
|
|
font-weight: 900; }
|
|
|
|
body {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
color: #666;
|
|
background-color: rgba(252, 248, 244, 0.75); }
|
|
|
|
/* Skeleton grid */
|
|
.container {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
box-sizing: border-box; }
|
|
|
|
.column,
|
|
.columns {
|
|
width: 100%;
|
|
float: left;
|
|
box-sizing: border-box; }
|
|
|
|
/* For devices larger than 400px */
|
|
@media (min-width: 400px) {
|
|
.container {
|
|
width: 100%;
|
|
padding: 0; } }
|
|
/* For devices larger than 650px */
|
|
@media (min-width: 650px) {
|
|
.container {
|
|
width: 100%; }
|
|
|
|
.column,
|
|
.columns {
|
|
margin-left: 4%; }
|
|
|
|
.column:first-child,
|
|
.columns:first-child {
|
|
margin-left: 0; }
|
|
|
|
.one.column,
|
|
.one.columns {
|
|
width: 4.66666666667%; }
|
|
|
|
.two.columns {
|
|
width: 13.3333333333%; }
|
|
|
|
.three.columns {
|
|
width: 22%; }
|
|
|
|
.four.columns {
|
|
width: 30.6666666667%; }
|
|
|
|
.five.columns {
|
|
width: 39.3333333333%; }
|
|
|
|
.six.columns {
|
|
width: 48%; }
|
|
|
|
.seven.columns {
|
|
width: 56.6666666667%; }
|
|
|
|
.eight.columns {
|
|
width: 65.3333333333%; }
|
|
|
|
.nine.columns {
|
|
width: 74.0%; }
|
|
|
|
.ten.columns {
|
|
width: 82.6666666667%; }
|
|
|
|
.eleven.columns {
|
|
width: 91.3333333333%; }
|
|
|
|
.twelve.columns {
|
|
width: 100%;
|
|
margin-left: 0; }
|
|
|
|
.one-third.column {
|
|
width: 30.6666666667%; }
|
|
|
|
.two-thirds.column {
|
|
width: 65.3333333333%; } }
|
|
/* Customer Overrides */
|
|
.footer {
|
|
text-align: center;
|
|
color: #969696;
|
|
padding-top: 10%; }
|
|
|
|
p.module-desc {
|
|
font-size: 1.1em;
|
|
color: #666666; }
|
|
|
|
a.link-seesrc {
|
|
color: #aec7d2;
|
|
font-style: italic; }
|
|
|
|
a.link-seesrc:hover {
|
|
color: #6c9aae; }
|
|
|
|
#toc-list {
|
|
word-wrap: break-word; }
|
|
|
|
ul.simple-toc {
|
|
list-style: none; }
|
|
|
|
ul.simple-toc a.reference-toplevel {
|
|
font-weight: bold;
|
|
color: #0077b3; }
|
|
|
|
ul.simple-toc-section {
|
|
list-style-type: circle;
|
|
color: #6c9aae; }
|
|
|
|
ul.simple-toc-section a.reference {
|
|
color: #0077b3; }
|
|
|
|
cite {
|
|
font-style: italic !important; }
|
|
|
|
dt > pre {
|
|
border-color: rgba(0, 0, 0, 0.15);
|
|
background-color: transparent;
|
|
margin: 15px 0px 5px; }
|
|
|
|
dd > pre {
|
|
border-color: rgba(0, 0, 0, 0.1);
|
|
background-color: whitesmoke;
|
|
margin-top: 8px; }
|
|
|
|
.item > dd {
|
|
margin-left: 10px;
|
|
margin-bottom: 30px; }
|
|
|
|
/* Nim line-numbered tables */
|
|
.line-nums-table {
|
|
width: 100%;
|
|
table-layout: fixed; }
|
|
|
|
table.line-nums-table {
|
|
border-radius: 4px;
|
|
border: 1px solid #cccccc;
|
|
background-color: whitesmoke;
|
|
border-collapse: separate;
|
|
margin-top: 15px;
|
|
margin-bottom: 25px; }
|
|
|
|
.line-nums-table tbody {
|
|
border: none; }
|
|
|
|
.line-nums-table td pre {
|
|
border: none;
|
|
background-color: transparent; }
|
|
|
|
.line-nums-table td.blob-line-nums {
|
|
width: 28px; }
|
|
|
|
.line-nums-table td.blob-line-nums pre {
|
|
color: #b0b0b0;
|
|
-webkit-filter: opacity(75%);
|
|
text-align: right;
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
padding-left: 0px;
|
|
margin-left: 0px;
|
|
padding-right: 0px;
|
|
margin-right: 0px; }
|
|
|
|
/* Docgen styles */
|
|
/* Links */
|
|
a {
|
|
color: #0077b3;
|
|
text-decoration: none; }
|
|
|
|
a:hover,
|
|
a:focus {
|
|
color: #00334d;
|
|
text-decoration: underline; }
|
|
|
|
a:visited {
|
|
color: #00334d; }
|
|
|
|
a:focus {
|
|
outline: thin dotted #2d2d2d;
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
outline-offset: -2px; }
|
|
|
|
a:hover,
|
|
a:active {
|
|
outline: 0; }
|
|
|
|
sub,
|
|
sup {
|
|
position: relative;
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
vertical-align: baseline; }
|
|
|
|
sup {
|
|
top: -0.5em; }
|
|
|
|
sub {
|
|
bottom: -0.25em; }
|
|
|
|
img {
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
vertical-align: middle;
|
|
border: 0;
|
|
-ms-interpolation-mode: bicubic; }
|
|
|
|
@media print {
|
|
* {
|
|
color: black !important;
|
|
text-shadow: none !important;
|
|
background: transparent !important;
|
|
box-shadow: none !important; }
|
|
|
|
a,
|
|
a:visited {
|
|
text-decoration: underline; }
|
|
|
|
a[href]:after {
|
|
content: " (" attr(href) ")"; }
|
|
|
|
abbr[title]:after {
|
|
content: " (" attr(title) ")"; }
|
|
|
|
.ir a:after,
|
|
a[href^="javascript:"]:after,
|
|
a[href^="#"]:after {
|
|
content: ""; }
|
|
|
|
pre,
|
|
blockquote {
|
|
border: 1px solid #999;
|
|
page-break-inside: avoid; }
|
|
|
|
thead {
|
|
display: table-header-group; }
|
|
|
|
tr,
|
|
img {
|
|
page-break-inside: avoid; }
|
|
|
|
img {
|
|
max-width: 100% !important; }
|
|
|
|
@page {
|
|
margin: 0.5cm; }
|
|
|
|
h1 {
|
|
page-break-before: always; }
|
|
|
|
h1.title {
|
|
page-break-before: avoid; }
|
|
|
|
p,
|
|
h2,
|
|
h3 {
|
|
orphans: 3;
|
|
widows: 3; }
|
|
|
|
h2,
|
|
h3 {
|
|
page-break-after: avoid; } }
|
|
.img-rounded {
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px; }
|
|
|
|
.img-polaroid {
|
|
padding: 4px;
|
|
background-color: rgba(252, 248, 244, 0.75);
|
|
border: 1px solid #ccc;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
|
|
|
|
p {
|
|
margin: 0 0 12px; }
|
|
|
|
small {
|
|
font-size: 85%; }
|
|
|
|
strong {
|
|
font-weight: 600; }
|
|
|
|
em {
|
|
font-style: italic; }
|
|
|
|
cite {
|
|
font-style: normal; }
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: 600;
|
|
line-height: 20px;
|
|
color: inherit;
|
|
text-rendering: optimizelegibility; }
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
padding-bottom: .15em;
|
|
border-bottom: 1px solid #aaaaaa;
|
|
margin-top: 1.0em;
|
|
line-height: 1.2em; }
|
|
|
|
h1.title {
|
|
padding-bottom: 1em;
|
|
border-bottom: 0px;
|
|
font-size: 2.75em; }
|
|
|
|
h2 {
|
|
font-size: 1.5em;
|
|
margin-top: 1.5em; }
|
|
|
|
h3 {
|
|
font-size: 1.3em;
|
|
font-style: italic;
|
|
margin-top: 0.75em; }
|
|
|
|
h4 {
|
|
font-size: 1.3em;
|
|
margin-top: 0.5em; }
|
|
|
|
h5 {
|
|
font-size: 1.2em;
|
|
margin-top: 0.25em; }
|
|
|
|
h6 {
|
|
font-size: 1.1em; }
|
|
|
|
ul,
|
|
ol {
|
|
padding: 0;
|
|
margin: 0 0 0px 15px; }
|
|
|
|
ul ul,
|
|
ul ol,
|
|
ol ol,
|
|
ol ul {
|
|
margin-bottom: 0; }
|
|
|
|
li {
|
|
line-height: 20px; }
|
|
|
|
dl {
|
|
margin-bottom: 20px; }
|
|
|
|
dt,
|
|
dd {
|
|
line-height: 20px; }
|
|
|
|
dt {
|
|
font-weight: bold; }
|
|
|
|
dd {
|
|
margin-left: 10px;
|
|
margin-bottom: 26px; }
|
|
|
|
hr {
|
|
margin: 20px 0;
|
|
border: 0;
|
|
border-top: 1px solid #eeeeee;
|
|
border-bottom: 1px solid #ffffff; }
|
|
|
|
abbr[title],
|
|
abbr[data-original-title] {
|
|
cursor: help;
|
|
border-bottom: 1px dotted #999999; }
|
|
|
|
abbr.initialism {
|
|
font-size: 90%;
|
|
text-transform: uppercase; }
|
|
|
|
blockquote {
|
|
padding: 0 0 0 15px;
|
|
margin: 0 0 20px;
|
|
border-left: 5px solid #EFEBE0; }
|
|
|
|
table.docinfo + blockquote, table.docinfo blockquote, h1 + blockquote {
|
|
border-left: 5px solid #c9c9c9;
|
|
}
|
|
|
|
table.docinfo + blockquote p, table.docinfo blockquote p, h1 + blockquote p {
|
|
margin-bottom: 0;
|
|
font-size: 15px;
|
|
font-weight: 200;
|
|
line-height: 1.5;
|
|
font-style: italic; }
|
|
|
|
q:before,
|
|
q:after,
|
|
blockquote:before,
|
|
blockquote:after {
|
|
content: ""; }
|
|
|
|
address {
|
|
display: block;
|
|
margin-bottom: 20px;
|
|
font-style: normal;
|
|
line-height: 20px; }
|
|
|
|
code,
|
|
pre {
|
|
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
padding: 0 3px 2px;
|
|
font-weight: 500;
|
|
font-size: 12px;
|
|
color: #444444;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px; }
|
|
|
|
.pre {
|
|
font-family: "Source Code Pro", Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
font-weight: 600;
|
|
/*color: #504da6;*/
|
|
}
|
|
|
|
code {
|
|
padding: 2px 4px;
|
|
color: #444444;
|
|
white-space: nowrap;
|
|
background-color: white;
|
|
border: 1px solid #777777; }
|
|
|
|
pre {
|
|
display: inline-block;
|
|
box-sizing: border-box;
|
|
min-width: calc(100% - 19.5px);
|
|
padding: 9.5px;
|
|
margin: 0.25em 10px 0.25em 10px;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
white-space: pre !important;
|
|
overflow-y: hidden;
|
|
overflow-x: visible;
|
|
background-color: whitesmoke;
|
|
border: 1px solid #cccccc;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px; }
|
|
|
|
pre.prettyprint {
|
|
margin-bottom: 20px; }
|
|
|
|
pre code {
|
|
padding: 0;
|
|
color: inherit;
|
|
white-space: pre;
|
|
overflow-x: visible;
|
|
background-color: transparent;
|
|
border: 0; }
|
|
|
|
.pre-scrollable {
|
|
max-height: 340px;
|
|
overflow-y: scroll; }
|
|
|
|
table {
|
|
max-width: 100%;
|
|
background-color: transparent;
|
|
border-collapse: collapse;
|
|
border-spacing: 0; }
|
|
|
|
table th, table td {
|
|
padding: 0px 8px 0px;
|
|
}
|
|
|
|
.table {
|
|
width: 100%;
|
|
margin-bottom: 20px; }
|
|
|
|
.table th,
|
|
.table td {
|
|
padding: 8px;
|
|
line-height: 20px;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
border-top: 1px solid #444444; }
|
|
|
|
.table th {
|
|
font-weight: bold; }
|
|
|
|
.table thead th {
|
|
vertical-align: bottom; }
|
|
|
|
.table caption + thead tr:first-child th,
|
|
.table caption + thead tr:first-child td,
|
|
.table colgroup + thead tr:first-child th,
|
|
.table colgroup + thead tr:first-child td,
|
|
.table thead:first-child tr:first-child th,
|
|
.table thead:first-child tr:first-child td {
|
|
border-top: 0; }
|
|
|
|
.table tbody + tbody {
|
|
border-top: 2px solid #444444; }
|
|
|
|
.table .table {
|
|
background-color: rgba(252, 248, 244, 0.75); }
|
|
|
|
.table-condensed th,
|
|
.table-condensed td {
|
|
padding: 4px 5px; }
|
|
|
|
.table-bordered {
|
|
border: 1px solid #444444;
|
|
border-collapse: separate;
|
|
*border-collapse: collapse;
|
|
border-left: 0;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px; }
|
|
|
|
.table-bordered th,
|
|
.table-bordered td {
|
|
border-left: 1px solid #444444; }
|
|
|
|
.table-bordered caption + thead tr:first-child th,
|
|
.table-bordered caption + tbody tr:first-child th,
|
|
.table-bordered caption + tbody tr:first-child td,
|
|
.table-bordered colgroup + thead tr:first-child th,
|
|
.table-bordered colgroup + tbody tr:first-child th,
|
|
.table-bordered colgroup + tbody tr:first-child td,
|
|
.table-bordered thead:first-child tr:first-child th,
|
|
.table-bordered tbody:first-child tr:first-child th,
|
|
.table-bordered tbody:first-child tr:first-child td {
|
|
border-top: 0; }
|
|
|
|
.table-bordered thead:first-child tr:first-child > th:first-child,
|
|
.table-bordered tbody:first-child tr:first-child > td:first-child,
|
|
.table-bordered tbody:first-child tr:first-child > th:first-child {
|
|
-webkit-border-top-left-radius: 4px;
|
|
border-top-left-radius: 4px;
|
|
-moz-border-radius-topleft: 4px; }
|
|
|
|
.table-bordered thead:first-child tr:first-child > th:last-child,
|
|
.table-bordered tbody:first-child tr:first-child > td:last-child,
|
|
.table-bordered tbody:first-child tr:first-child > th:last-child {
|
|
-webkit-border-top-right-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
-moz-border-radius-topright: 4px; }
|
|
|
|
.table-bordered thead:last-child tr:last-child > th:first-child,
|
|
.table-bordered tbody:last-child tr:last-child > td:first-child,
|
|
.table-bordered tbody:last-child tr:last-child > th:first-child,
|
|
.table-bordered tfoot:last-child tr:last-child > td:first-child,
|
|
.table-bordered tfoot:last-child tr:last-child > th:first-child {
|
|
-webkit-border-bottom-left-radius: 4px;
|
|
border-bottom-left-radius: 4px;
|
|
-moz-border-radius-bottomleft: 4px; }
|
|
|
|
.table-bordered thead:last-child tr:last-child > th:last-child,
|
|
.table-bordered tbody:last-child tr:last-child > td:last-child,
|
|
.table-bordered tbody:last-child tr:last-child > th:last-child,
|
|
.table-bordered tfoot:last-child tr:last-child > td:last-child,
|
|
.table-bordered tfoot:last-child tr:last-child > th:last-child {
|
|
-webkit-border-bottom-right-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
-moz-border-radius-bottomright: 4px; }
|
|
|
|
.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
|
|
-webkit-border-bottom-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
-moz-border-radius-bottomleft: 0; }
|
|
|
|
.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
|
|
-webkit-border-bottom-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
-moz-border-radius-bottomright: 0; }
|
|
|
|
.table-bordered caption + thead tr:first-child th:first-child,
|
|
.table-bordered caption + tbody tr:first-child td:first-child,
|
|
.table-bordered colgroup + thead tr:first-child th:first-child,
|
|
.table-bordered colgroup + tbody tr:first-child td:first-child {
|
|
-webkit-border-top-left-radius: 4px;
|
|
border-top-left-radius: 4px;
|
|
-moz-border-radius-topleft: 4px; }
|
|
|
|
.table-bordered caption + thead tr:first-child th:last-child,
|
|
.table-bordered caption + tbody tr:first-child td:last-child,
|
|
.table-bordered colgroup + thead tr:first-child th:last-child,
|
|
.table-bordered colgroup + tbody tr:first-child td:last-child {
|
|
-webkit-border-top-right-radius: 4px;
|
|
border-top-right-radius: 4px;
|
|
-moz-border-radius-topright: 4px; }
|
|
|
|
table.docutils th {
|
|
background-color: #e8e8e8; }
|
|
|
|
table.docutils tr:hover {
|
|
background-color: whitesmoke; }
|
|
|
|
.table-striped tbody > tr:nth-child(odd) > td,
|
|
.table-striped tbody > tr:nth-child(odd) > th {
|
|
background-color: rgba(252, 248, 244, 0.75); }
|
|
|
|
.table-hover tbody tr:hover > td,
|
|
.table-hover tbody tr:hover > th {
|
|
background-color: rgba(241, 222, 204, 0.75); }
|
|
|
|
table td[class*="span"],
|
|
table th[class*="span"],
|
|
.row-fluid table td[class*="span"],
|
|
.row-fluid table th[class*="span"] {
|
|
display: table-cell;
|
|
float: none;
|
|
margin-left: 0; }
|
|
|
|
.hero-unit {
|
|
padding: 60px;
|
|
margin-bottom: 30px;
|
|
font-size: 18px;
|
|
font-weight: 200;
|
|
line-height: 30px;
|
|
color: inherit;
|
|
background-color: rgba(230, 197, 164, 0.75);
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px; }
|
|
|
|
.hero-unit h1 {
|
|
margin-bottom: 0;
|
|
font-size: 60px;
|
|
line-height: 1;
|
|
letter-spacing: -1px;
|
|
color: inherit; }
|
|
|
|
.hero-unit li {
|
|
line-height: 30px; }
|
|
|
|
/* rst2html default used to remove borders from tables and images */
|
|
.borderless, table.borderless td, table.borderless th {
|
|
border: 0; }
|
|
|
|
table.borderless td, table.borderless th {
|
|
/* Override padding for "table.docutils td" with "! important".
|
|
The right padding separates the table cells. */
|
|
padding: 0 0.5em 0 0 !important; }
|
|
|
|
.first {
|
|
/* Override more specific margin styles with "! important". */
|
|
margin-top: 0 !important; }
|
|
|
|
.last, .with-subtitle {
|
|
margin-bottom: 0 !important; }
|
|
|
|
.hidden {
|
|
display: none; }
|
|
|
|
a.toc-backref {
|
|
text-decoration: none;
|
|
color: #444444; }
|
|
|
|
blockquote.epigraph {
|
|
margin: 2em 5em; }
|
|
|
|
dl.docutils dd {
|
|
margin-bottom: 0.5em; }
|
|
|
|
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
|
overflow: hidden; }
|
|
|
|
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
|
dl.docutils dt {
|
|
font-weight: bold }
|
|
*/
|
|
div.abstract {
|
|
margin: 2em 5em; }
|
|
|
|
div.abstract p.topic-title {
|
|
font-weight: bold;
|
|
text-align: center; }
|
|
|
|
div.admonition, div.attention, div.caution, div.danger, div.error,
|
|
div.hint, div.important, div.note, div.tip, div.warning {
|
|
margin: 2em;
|
|
border: medium outset;
|
|
padding: 1em; }
|
|
|
|
div.note, div.warning {
|
|
margin: 1.5em 0px;
|
|
border: none; }
|
|
|
|
div.note p.admonition-title,
|
|
div.warning p.admonition-title {
|
|
display: none; }
|
|
|
|
/* Clearfix
|
|
* http://css-tricks.com/snippets/css/clear-fix/
|
|
*/
|
|
div.note:after,
|
|
div.warning:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both; }
|
|
|
|
div.note p:before,
|
|
div.warning p:before {
|
|
display: block;
|
|
float: left;
|
|
font-size: 4em;
|
|
line-height: 1em;
|
|
margin-right: 20px;
|
|
margin-left: 0em;
|
|
margin-top: -10px;
|
|
content: '\0270D';
|
|
/*handwriting*/ }
|
|
|
|
div.warning p:before {
|
|
content: '\026A0';
|
|
/*warning*/ }
|
|
|
|
div.admonition p.admonition-title, div.hint p.admonition-title,
|
|
div.important p.admonition-title, div.note p.admonition-title,
|
|
div.tip p.admonition-title {
|
|
font-weight: bold;
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; }
|
|
|
|
div.attention p.admonition-title, div.caution p.admonition-title,
|
|
div.danger p.admonition-title, div.error p.admonition-title,
|
|
div.warning p.admonition-title, .code .error {
|
|
color: #b30000;
|
|
font-weight: bold;
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; }
|
|
|
|
/* Uncomment (and remove this text!) to get reduced vertical space in
|
|
compound paragraphs.
|
|
div.compound .compound-first, div.compound .compound-middle {
|
|
margin-bottom: 0.5em }
|
|
|
|
div.compound .compound-last, div.compound .compound-middle {
|
|
margin-top: 0.5em }
|
|
*/
|
|
div.dedication {
|
|
margin: 2em 5em;
|
|
text-align: center;
|
|
font-style: italic; }
|
|
|
|
div.dedication p.topic-title {
|
|
font-weight: bold;
|
|
font-style: normal; }
|
|
|
|
div.figure {
|
|
margin-left: 2em;
|
|
margin-right: 2em; }
|
|
|
|
div.footer, div.header {
|
|
clear: both;
|
|
font-size: smaller; }
|
|
|
|
div.line-block {
|
|
display: block;
|
|
margin-top: 1em;
|
|
margin-bottom: 1em; }
|
|
|
|
div.line-block div.line-block {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
margin-left: 1.5em; }
|
|
|
|
div.sidebar {
|
|
margin: 0 0 0.5em 1em;
|
|
border: medium outset;
|
|
padding: 1em;
|
|
background-color: rgba(252, 248, 244, 0.75);
|
|
width: 40%;
|
|
float: right;
|
|
clear: right; }
|
|
|
|
div.sidebar p.rubric {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-size: medium; }
|
|
|
|
div.system-messages {
|
|
margin: 5em; }
|
|
|
|
div.system-messages h1 {
|
|
color: #b30000; }
|
|
|
|
div.system-message {
|
|
border: medium outset;
|
|
padding: 1em; }
|
|
|
|
div.system-message p.system-message-title {
|
|
color: #b30000;
|
|
font-weight: bold; }
|
|
|
|
div.topic {
|
|
margin: 2em; }
|
|
|
|
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
|
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
|
margin-top: 0.4em; }
|
|
|
|
h1.title {
|
|
text-align: center; }
|
|
|
|
h2.subtitle {
|
|
text-align: center; }
|
|
|
|
hr.docutils {
|
|
width: 75%; }
|
|
|
|
img.align-left, .figure.align-left, object.align-left {
|
|
clear: left;
|
|
float: left;
|
|
margin-right: 1em; }
|
|
|
|
img.align-right, .figure.align-right, object.align-right {
|
|
clear: right;
|
|
float: right;
|
|
margin-left: 1em; }
|
|
|
|
img.align-center, .figure.align-center, object.align-center {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto; }
|
|
|
|
.align-left {
|
|
text-align: left; }
|
|
|
|
.align-center {
|
|
clear: both;
|
|
text-align: center; }
|
|
|
|
.align-right {
|
|
text-align: right; }
|
|
|
|
/* reset inner alignment in figures */
|
|
div.align-right {
|
|
text-align: inherit; }
|
|
|
|
/* div.align-center * { */
|
|
/* text-align: left } */
|
|
|
|
ul.simple > li {
|
|
margin-bottom: 0.5em }
|
|
|
|
ol.simple, ul.simple {
|
|
margin-bottom: 1em; }
|
|
|
|
ol.arabic {
|
|
list-style: decimal; }
|
|
|
|
ol.loweralpha {
|
|
list-style: lower-alpha; }
|
|
|
|
ol.upperalpha {
|
|
list-style: upper-alpha; }
|
|
|
|
ol.lowerroman {
|
|
list-style: lower-roman; }
|
|
|
|
ol.upperroman {
|
|
list-style: upper-roman; }
|
|
|
|
p.attribution {
|
|
text-align: right;
|
|
margin-left: 50%; }
|
|
|
|
p.caption {
|
|
font-style: italic; }
|
|
|
|
p.credits {
|
|
font-style: italic;
|
|
font-size: smaller; }
|
|
|
|
p.label {
|
|
white-space: nowrap; }
|
|
|
|
p.rubric {
|
|
font-weight: bold;
|
|
font-size: larger;
|
|
color: maroon;
|
|
text-align: center; }
|
|
|
|
p.sidebar-title {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: bold;
|
|
font-size: larger; }
|
|
|
|
p.sidebar-subtitle {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: bold; }
|
|
|
|
p.topic-title {
|
|
font-weight: bold; }
|
|
|
|
pre.address {
|
|
margin-bottom: 0;
|
|
margin-top: 0;
|
|
font: inherit; }
|
|
|
|
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|
margin-left: 2em;
|
|
margin-right: 2em; }
|
|
|
|
pre.code .ln {
|
|
color: grey; }
|
|
|
|
/* line numbers */
|
|
pre.code, code {
|
|
background-color: #eeeeee; }
|
|
|
|
pre.code .comment, code .comment {
|
|
color: #5c6576; }
|
|
|
|
pre.code .keyword, code .keyword {
|
|
color: #3B0D06;
|
|
font-weight: bold; }
|
|
|
|
pre.code .literal.string, code .literal.string {
|
|
color: #0c5404; }
|
|
|
|
pre.code .name.builtin, code .name.builtin {
|
|
color: #352b84; }
|
|
|
|
pre.code .deleted, code .deleted {
|
|
background-color: #DEB0A1; }
|
|
|
|
pre.code .inserted, code .inserted {
|
|
background-color: #A3D289; }
|
|
|
|
span.classifier {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-style: oblique; }
|
|
|
|
span.classifier-delimiter {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif;
|
|
font-weight: bold; }
|
|
|
|
span.interpreted {
|
|
font-family: "Helvetica Neue", "HelveticaNeue", "Raleway", Helvetica, Arial, sans-serif; }
|
|
|
|
span.option {
|
|
white-space: nowrap; }
|
|
|
|
span.pre {
|
|
white-space: pre; }
|
|
|
|
span.problematic {
|
|
color: #b30000; }
|
|
|
|
span.section-subtitle {
|
|
/* font-size relative to parent (h1..h6 element) */
|
|
font-size: 80%; }
|
|
|
|
table.citation {
|
|
border-left: solid 1px #666666;
|
|
margin-left: 1px; }
|
|
|
|
table.docinfo {
|
|
margin: 0em;
|
|
margin-top: 2em;
|
|
margin-bottom: 2em;
|
|
font-family: "Raleway", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif !important;
|
|
color: #444444; }
|
|
|
|
table.docutils {
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5em; }
|
|
|
|
table.footnote {
|
|
border-left: solid 1px #2d2d2d;
|
|
margin-left: 1px; }
|
|
|
|
table.docutils td, table.docutils th,
|
|
table.docinfo td, table.docinfo th {
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
vertical-align: top; }
|
|
|
|
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
|
font-weight: 700;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
padding-left: 0; }
|
|
|
|
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
|
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
|
font-size: 100%; }
|
|
|
|
ul.auto-toc {
|
|
list-style-type: none; }
|
|
|
|
span.DecNumber {
|
|
color: #252dbe; }
|
|
|
|
span.BinNumber {
|
|
color: #252dbe; }
|
|
|
|
span.HexNumber {
|
|
color: #252dbe; }
|
|
|
|
span.OctNumber {
|
|
color: #252dbe; }
|
|
|
|
span.FloatNumber {
|
|
color: #252dbe; }
|
|
|
|
span.Identifier {
|
|
color: #3b3b3b; }
|
|
|
|
span.Keyword {
|
|
font-weight: 600;
|
|
color: #5e8f60; }
|
|
|
|
span.StringLit {
|
|
color: #a4255b; }
|
|
|
|
span.LongStringLit {
|
|
color: #a4255b; }
|
|
|
|
span.CharLit {
|
|
color: #a4255b; }
|
|
|
|
span.EscapeSequence {
|
|
color: black; }
|
|
|
|
span.Operator {
|
|
color: black; }
|
|
|
|
span.Punctuation {
|
|
color: black; }
|
|
|
|
span.Comment, span.LongComment {
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
color: #484a86; }
|
|
|
|
span.RegularExpression {
|
|
color: darkviolet; }
|
|
|
|
span.TagStart {
|
|
color: darkviolet; }
|
|
|
|
span.TagEnd {
|
|
color: darkviolet; }
|
|
|
|
span.Key {
|
|
color: #252dbe; }
|
|
|
|
span.Value {
|
|
color: #252dbe; }
|
|
|
|
span.RawData {
|
|
color: #a4255b; }
|
|
|
|
span.Assembler {
|
|
color: #252dbe; }
|
|
|
|
span.Preprocessor {
|
|
color: #252dbe; }
|
|
|
|
span.Directive {
|
|
color: #252dbe; }
|
|
|
|
span.Command, span.Rule, span.Hyperlink, span.Label, span.Reference,
|
|
span.Other {
|
|
color: black; }
|
|
|
|
/* Pop type, const, proc, and iterator defs in nim def blocks */
|
|
dt pre > span.Identifier, dt pre > span.Operator {
|
|
color: #155da4;
|
|
font-weight: 700; }
|
|
|
|
dt pre > span.Identifier ~ span.Identifier, dt pre > span.Operator ~ span.Identifier {
|
|
color: inherit;
|
|
font-weight: inherit; }
|
|
|
|
dt pre > span.Operator ~ span.Identifier, dt pre > span.Operator ~ span.Operator {
|
|
color: inherit;
|
|
font-weight: inherit; }
|
|
|
|
/* Nim sprite for the footer (taken from main page favicon) */
|
|
.nim-sprite {
|
|
display: inline-block;
|
|
height: 12px;
|
|
width: 12px;
|
|
background-position: 0 0;
|
|
background-size: 12px 12px;
|
|
-webkit-filter: opacity(50%);
|
|
background-repeat: no-repeat;
|
|
background-image: url("data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA==");
|
|
margin-bottom: -5px; }
|
|
div.pragma {
|
|
display: none;
|
|
}
|
|
span.pragmabegin {
|
|
cursor: pointer;
|
|
}
|
|
span.pragmaend {
|
|
cursor: pointer;
|
|
}
|
|
|
|
div.search_results {
|
|
background-color: antiquewhite;
|
|
margin: 3em;
|
|
padding: 1em;
|
|
border: 1px solid #4d4d4d;
|
|
}
|
|
</style>
|
|
|
|
<script type="text/javascript" src="../dochack.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
function togglepragma(d) {
|
|
if (d.style.display != 'inline')
|
|
d.style.display = 'inline';
|
|
else
|
|
d.style.display = 'none';
|
|
}
|
|
|
|
function main() {
|
|
var elements = document.getElementsByClassName("pragmabegin");
|
|
for (var i = 0; i < elements.length; ++i) {
|
|
var e = elements[i];
|
|
e.onclick = function(event) {
|
|
togglepragma(event.target.nextSibling);
|
|
};
|
|
}
|
|
var elements = document.getElementsByClassName("pragmaend");
|
|
for (var i = 0; i < elements.length; ++i) {
|
|
var e = elements[i];
|
|
e.onclick = function(event) {
|
|
togglepragma(event.target.previousSibling);
|
|
};
|
|
}
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
<body onload="main()">
|
|
<div class="document" id="documentId">
|
|
<div class="container">
|
|
<h1 class="title">Module http_client</h1>
|
|
<div class="row">
|
|
<div class="three columns">
|
|
<div>
|
|
Search: <input type="text" id="searchInput"
|
|
onkeyup="search()" />
|
|
</div>
|
|
<div>
|
|
Group by:
|
|
<select onchange="groupBy(this.value)">
|
|
<option value="section">Section</option>
|
|
<option value="type">Type</option>
|
|
</select>
|
|
</div>
|
|
<ul class="simple simple-toc" id="toc-list">
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#6" id="56">Imports</a>
|
|
<ul class="simple simple-toc-section">
|
|
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#10" id="60">Consts</a>
|
|
<ul class="simple simple-toc-section">
|
|
<li><a class="reference" href="#METHOD_GET"
|
|
title="METHOD_GET* = 0'i64"><wbr />METHOD_<wbr />GET<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#METHOD_HEAD"
|
|
title="METHOD_HEAD* = 1'i64"><wbr />METHOD_<wbr />HEAD<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#METHOD_POST"
|
|
title="METHOD_POST* = 2'i64"><wbr />METHOD_<wbr />POST<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#METHOD_PUT"
|
|
title="METHOD_PUT* = 3'i64"><wbr />METHOD_<wbr />PUT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#METHOD_DELETE"
|
|
title="METHOD_DELETE* = 4'i64"><wbr />METHOD_<wbr />DELETE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#METHOD_OPTIONS"
|
|
title="METHOD_OPTIONS* = 5'i64"><wbr />METHOD_<wbr />OPTIONS<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#METHOD_TRACE"
|
|
title="METHOD_TRACE* = 6'i64"><wbr />METHOD_<wbr />TRACE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#METHOD_CONNECT"
|
|
title="METHOD_CONNECT* = 7'i64"><wbr />METHOD_<wbr />CONNECT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#METHOD_MAX"
|
|
title="METHOD_MAX* = 8'i64"><wbr />METHOD_<wbr />MAX<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_DISCONNECTED"
|
|
title="STATUS_DISCONNECTED* = 0'i64"><wbr />STATUS_<wbr />DISCONNECTED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_RESOLVING"
|
|
title="STATUS_RESOLVING* = 1'i64"><wbr />STATUS_<wbr />RESOLVING<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_CANT_RESOLVE"
|
|
title="STATUS_CANT_RESOLVE* = 2'i64"><wbr />STATUS_<wbr />CANT_<wbr />RESOLVE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_CONNECTING"
|
|
title="STATUS_CONNECTING* = 3'i64"><wbr />STATUS_<wbr />CONNECTING<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_CANT_CONNECT"
|
|
title="STATUS_CANT_CONNECT* = 4'i64"><wbr />STATUS_<wbr />CANT_<wbr />CONNECT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_CONNECTED"
|
|
title="STATUS_CONNECTED* = 5'i64"><wbr />STATUS_<wbr />CONNECTED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_REQUESTING"
|
|
title="STATUS_REQUESTING* = 6'i64"><wbr />STATUS_<wbr />REQUESTING<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_BODY"
|
|
title="STATUS_BODY* = 7'i64"><wbr />STATUS_<wbr />BODY<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_CONNECTION_ERROR"
|
|
title="STATUS_CONNECTION_ERROR* = 8'i64"><wbr />STATUS_<wbr />CONNECTION_<wbr />ERROR<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#STATUS_SSL_HANDSHAKE_ERROR"
|
|
title="STATUS_SSL_HANDSHAKE_ERROR* = 9'i64"><wbr />STATUS_<wbr />SSL_<wbr />HANDSHAKE_<wbr />ERROR<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_CONTINUE"
|
|
title="RESPONSE_CONTINUE* = 100'i64"><wbr />RESPONSE_<wbr />CONTINUE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_SWITCHING_PROTOCOLS"
|
|
title="RESPONSE_SWITCHING_PROTOCOLS* = 101'i64"><wbr />RESPONSE_<wbr />SWITCHING_<wbr />PROTOCOLS<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_PROCESSING"
|
|
title="RESPONSE_PROCESSING* = 102'i64"><wbr />RESPONSE_<wbr />PROCESSING<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_OK"
|
|
title="RESPONSE_OK* = 200'i64"><wbr />RESPONSE_<wbr />OK<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_CREATED"
|
|
title="RESPONSE_CREATED* = 201'i64"><wbr />RESPONSE_<wbr />CREATED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_ACCEPTED"
|
|
title="RESPONSE_ACCEPTED* = 202'i64"><wbr />RESPONSE_<wbr />ACCEPTED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_NON_AUTHORITATIVE_INFORMATION"
|
|
title="RESPONSE_NON_AUTHORITATIVE_INFORMATION* = 203'i64"><wbr />RESPONSE_<wbr />NON_<wbr />AUTHORITATIVE_<wbr />INFORMATION<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_NO_CONTENT"
|
|
title="RESPONSE_NO_CONTENT* = 204'i64"><wbr />RESPONSE_<wbr />NO_<wbr />CONTENT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_RESET_CONTENT"
|
|
title="RESPONSE_RESET_CONTENT* = 205'i64"><wbr />RESPONSE_<wbr />RESET_<wbr />CONTENT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_PARTIAL_CONTENT"
|
|
title="RESPONSE_PARTIAL_CONTENT* = 206'i64"><wbr />RESPONSE_<wbr />PARTIAL_<wbr />CONTENT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_MULTI_STATUS"
|
|
title="RESPONSE_MULTI_STATUS* = 207'i64"><wbr />RESPONSE_<wbr />MULTI_<wbr />STATUS<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_IM_USED"
|
|
title="RESPONSE_IM_USED* = 226'i64"><wbr />RESPONSE_<wbr />IM_<wbr />USED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_MULTIPLE_CHOICES"
|
|
title="RESPONSE_MULTIPLE_CHOICES* = 300'i64"><wbr />RESPONSE_<wbr />MULTIPLE_<wbr />CHOICES<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_MOVED_PERMANENTLY"
|
|
title="RESPONSE_MOVED_PERMANENTLY* = 301'i64"><wbr />RESPONSE_<wbr />MOVED_<wbr />PERMANENTLY<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_FOUND"
|
|
title="RESPONSE_FOUND* = 302'i64"><wbr />RESPONSE_<wbr />FOUND<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_SEE_OTHER"
|
|
title="RESPONSE_SEE_OTHER* = 303'i64"><wbr />RESPONSE_<wbr />SEE_<wbr />OTHER<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_NOT_MODIFIED"
|
|
title="RESPONSE_NOT_MODIFIED* = 304'i64"><wbr />RESPONSE_<wbr />NOT_<wbr />MODIFIED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_USE_PROXY"
|
|
title="RESPONSE_USE_PROXY* = 305'i64"><wbr />RESPONSE_<wbr />USE_<wbr />PROXY<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_TEMPORARY_REDIRECT"
|
|
title="RESPONSE_TEMPORARY_REDIRECT* = 307'i64"><wbr />RESPONSE_<wbr />TEMPORARY_<wbr />REDIRECT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_BAD_REQUEST"
|
|
title="RESPONSE_BAD_REQUEST* = 400'i64"><wbr />RESPONSE_<wbr />BAD_<wbr />REQUEST<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_UNAUTHORIZED"
|
|
title="RESPONSE_UNAUTHORIZED* = 401'i64"><wbr />RESPONSE_<wbr />UNAUTHORIZED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_PAYMENT_REQUIRED"
|
|
title="RESPONSE_PAYMENT_REQUIRED* = 402'i64"><wbr />RESPONSE_<wbr />PAYMENT_<wbr />REQUIRED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_FORBIDDEN"
|
|
title="RESPONSE_FORBIDDEN* = 403'i64"><wbr />RESPONSE_<wbr />FORBIDDEN<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_NOT_FOUND"
|
|
title="RESPONSE_NOT_FOUND* = 404'i64"><wbr />RESPONSE_<wbr />NOT_<wbr />FOUND<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_METHOD_NOT_ALLOWED"
|
|
title="RESPONSE_METHOD_NOT_ALLOWED* = 405'i64"><wbr />RESPONSE_<wbr />METHOD_<wbr />NOT_<wbr />ALLOWED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_NOT_ACCEPTABLE"
|
|
title="RESPONSE_NOT_ACCEPTABLE* = 406'i64"><wbr />RESPONSE_<wbr />NOT_<wbr />ACCEPTABLE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_PROXY_AUTHENTICATION_REQUIRED"
|
|
title="RESPONSE_PROXY_AUTHENTICATION_REQUIRED* = 407'i64"><wbr />RESPONSE_<wbr />PROXY_<wbr />AUTHENTICATION_<wbr />REQUIRED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_REQUEST_TIMEOUT"
|
|
title="RESPONSE_REQUEST_TIMEOUT* = 408'i64"><wbr />RESPONSE_<wbr />REQUEST_<wbr />TIMEOUT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_CONFLICT"
|
|
title="RESPONSE_CONFLICT* = 409'i64"><wbr />RESPONSE_<wbr />CONFLICT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_GONE"
|
|
title="RESPONSE_GONE* = 410'i64"><wbr />RESPONSE_<wbr />GONE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_LENGTH_REQUIRED"
|
|
title="RESPONSE_LENGTH_REQUIRED* = 411'i64"><wbr />RESPONSE_<wbr />LENGTH_<wbr />REQUIRED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_PRECONDITION_FAILED"
|
|
title="RESPONSE_PRECONDITION_FAILED* = 412'i64"><wbr />RESPONSE_<wbr />PRECONDITION_<wbr />FAILED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_REQUEST_ENTITY_TOO_LARGE"
|
|
title="RESPONSE_REQUEST_ENTITY_TOO_LARGE* = 413'i64"><wbr />RESPONSE_<wbr />REQUEST_<wbr />ENTITY_<wbr />TOO_<wbr />LARGE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_REQUEST_URI_TOO_LONG"
|
|
title="RESPONSE_REQUEST_URI_TOO_LONG* = 414'i64"><wbr />RESPONSE_<wbr />REQUEST_<wbr />URI_<wbr />TOO_<wbr />LONG<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_UNSUPPORTED_MEDIA_TYPE"
|
|
title="RESPONSE_UNSUPPORTED_MEDIA_TYPE* = 415'i64"><wbr />RESPONSE_<wbr />UNSUPPORTED_<wbr />MEDIA_<wbr />TYPE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE"
|
|
title="RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE* = 416'i64"><wbr />RESPONSE_<wbr />REQUESTED_<wbr />RANGE_<wbr />NOT_<wbr />SATISFIABLE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_EXPECTATION_FAILED"
|
|
title="RESPONSE_EXPECTATION_FAILED* = 417'i64"><wbr />RESPONSE_<wbr />EXPECTATION_<wbr />FAILED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_UNPROCESSABLE_ENTITY"
|
|
title="RESPONSE_UNPROCESSABLE_ENTITY* = 422'i64"><wbr />RESPONSE_<wbr />UNPROCESSABLE_<wbr />ENTITY<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_LOCKED"
|
|
title="RESPONSE_LOCKED* = 423'i64"><wbr />RESPONSE_<wbr />LOCKED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_FAILED_DEPENDENCY"
|
|
title="RESPONSE_FAILED_DEPENDENCY* = 424'i64"><wbr />RESPONSE_<wbr />FAILED_<wbr />DEPENDENCY<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_UPGRADE_REQUIRED"
|
|
title="RESPONSE_UPGRADE_REQUIRED* = 426'i64"><wbr />RESPONSE_<wbr />UPGRADE_<wbr />REQUIRED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_INTERNAL_SERVER_ERROR"
|
|
title="RESPONSE_INTERNAL_SERVER_ERROR* = 500'i64"><wbr />RESPONSE_<wbr />INTERNAL_<wbr />SERVER_<wbr />ERROR<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_NOT_IMPLEMENTED"
|
|
title="RESPONSE_NOT_IMPLEMENTED* = 501'i64"><wbr />RESPONSE_<wbr />NOT_<wbr />IMPLEMENTED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_BAD_GATEWAY"
|
|
title="RESPONSE_BAD_GATEWAY* = 502'i64"><wbr />RESPONSE_<wbr />BAD_<wbr />GATEWAY<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_SERVICE_UNAVAILABLE"
|
|
title="RESPONSE_SERVICE_UNAVAILABLE* = 503'i64"><wbr />RESPONSE_<wbr />SERVICE_<wbr />UNAVAILABLE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_GATEWAY_TIMEOUT"
|
|
title="RESPONSE_GATEWAY_TIMEOUT* = 504'i64"><wbr />RESPONSE_<wbr />GATEWAY_<wbr />TIMEOUT<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_HTTP_VERSION_NOT_SUPPORTED"
|
|
title="RESPONSE_HTTP_VERSION_NOT_SUPPORTED* = 505'i64"><wbr />RESPONSE_<wbr />HTTP_<wbr />VERSION_<wbr />NOT_<wbr />SUPPORTED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_INSUFFICIENT_STORAGE"
|
|
title="RESPONSE_INSUFFICIENT_STORAGE* = 507'i64"><wbr />RESPONSE_<wbr />INSUFFICIENT_<wbr />STORAGE<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#RESPONSE_NOT_EXTENDED"
|
|
title="RESPONSE_NOT_EXTENDED* = 510'i64"><wbr />RESPONSE_<wbr />NOT_<wbr />EXTENDED<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a class="reference reference-toplevel" href="#12" id="62">Procs</a>
|
|
<ul class="simple simple-toc-section">
|
|
<li><a class="reference" href="#connectToHost,HTTPClient,string,int64,bool,bool"
|
|
title="connectToHost*(self: HTTPClient; host: string; port: int64; useSsl: bool = false;
|
|
verifyHost: bool = true): int64"><wbr />connect<wbr />To<wbr />Host<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#setConnection,HTTPClient,StreamPeer"
|
|
title="setConnection*(self: HTTPClient; connection: StreamPeer)"><wbr />set<wbr />Connection<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getConnection,HTTPClient"
|
|
title="getConnection*(self: HTTPClient): StreamPeer"><wbr />get<wbr />Connection<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#requestRaw,HTTPClient,int64,string,PoolStringArray,PoolByteArray"
|
|
title="requestRaw*(self: HTTPClient; methodd: int64; url: string; headers: PoolStringArray;
|
|
body: PoolByteArray): int64"><wbr />request<wbr />Raw<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#request,HTTPClient,int64,string,PoolStringArray,string"
|
|
title="request*(self: HTTPClient; methodd: int64; url: string; headers: PoolStringArray;
|
|
body: string = ""): int64"><wbr />request<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#sendBodyText,HTTPClient,string"
|
|
title="sendBodyText*(self: HTTPClient; body: string): int64"><wbr />send<wbr />Body<wbr />Text<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#sendBodyData,HTTPClient,PoolByteArray"
|
|
title="sendBodyData*(self: HTTPClient; body: PoolByteArray): int64"><wbr />send<wbr />Body<wbr />Data<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#close,HTTPClient"
|
|
title="close*(self: HTTPClient)"><wbr />close<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#hasResponse,HTTPClient"
|
|
title="hasResponse*(self: HTTPClient): bool"><wbr />has<wbr />Response<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#isResponseChunked,HTTPClient"
|
|
title="isResponseChunked*(self: HTTPClient): bool"><wbr />is<wbr />Response<wbr />Chunked<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getResponseCode,HTTPClient"
|
|
title="getResponseCode*(self: HTTPClient): int64"><wbr />get<wbr />Response<wbr />Code<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getResponseHeaders,HTTPClient"
|
|
title="getResponseHeaders*(self: HTTPClient): PoolStringArray"><wbr />get<wbr />Response<wbr />Headers<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getResponseHeadersAsDictionary,HTTPClient"
|
|
title="getResponseHeadersAsDictionary*(self: HTTPClient): Dictionary"><wbr />get<wbr />Response<wbr />Headers<wbr />As<wbr />Dictionary<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getResponseBodyLength,HTTPClient"
|
|
title="getResponseBodyLength*(self: HTTPClient): int64"><wbr />get<wbr />Response<wbr />Body<wbr />Length<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#readResponseBodyChunk,HTTPClient"
|
|
title="readResponseBodyChunk*(self: HTTPClient): PoolByteArray"><wbr />read<wbr />Response<wbr />Body<wbr />Chunk<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#setReadChunkSize,HTTPClient,int64"
|
|
title="setReadChunkSize*(self: HTTPClient; bytes: int64)"><wbr />set<wbr />Read<wbr />Chunk<wbr />Size<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#setBlockingMode,HTTPClient,bool"
|
|
title="setBlockingMode*(self: HTTPClient; enabled: bool)"><wbr />set<wbr />Blocking<wbr />Mode<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#isBlockingModeEnabled,HTTPClient"
|
|
title="isBlockingModeEnabled*(self: HTTPClient): bool"><wbr />is<wbr />Blocking<wbr />Mode<wbr />Enabled<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#getStatus,HTTPClient"
|
|
title="getStatus*(self: HTTPClient): int64"><wbr />get<wbr />Status<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#poll,HTTPClient"
|
|
title="poll*(self: HTTPClient): int64"><wbr />poll<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
<li><a class="reference" href="#queryStringFromDict,HTTPClient,Dictionary"
|
|
title="queryStringFromDict*(self: HTTPClient; fields: Dictionary): string"><wbr />query<wbr />String<wbr />From<wbr />Dict<span class="attachedType" style="visibility:hidden"></span></a></li>
|
|
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
<div class="nine columns" id="content">
|
|
<div id="tocRoot"></div>
|
|
<p class="module-desc"></p>
|
|
<div class="section" id="6">
|
|
<h1><a class="toc-backref" href="#6">Imports</a></h1>
|
|
<dl class="item">
|
|
<a class="reference external" href="../godot.html">godot</a>, <a class="reference external" href="godottypes.html">godottypes</a>, <a class="reference external" href="../godotinternal.html">godotinternal</a>, <a class="reference external" href="reference.html">reference</a>
|
|
</dl></div>
|
|
<div class="section" id="10">
|
|
<h1><a class="toc-backref" href="#10">Consts</a></h1>
|
|
<dl class="item">
|
|
<dt id="METHOD_GET"><a name="METHOD_GET"></a><pre><span class="Identifier">METHOD_GET</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">0'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="METHOD_HEAD"><a name="METHOD_HEAD"></a><pre><span class="Identifier">METHOD_HEAD</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">1'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="METHOD_POST"><a name="METHOD_POST"></a><pre><span class="Identifier">METHOD_POST</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">2'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="METHOD_PUT"><a name="METHOD_PUT"></a><pre><span class="Identifier">METHOD_PUT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">3'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="METHOD_DELETE"><a name="METHOD_DELETE"></a><pre><span class="Identifier">METHOD_DELETE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">4'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="METHOD_OPTIONS"><a name="METHOD_OPTIONS"></a><pre><span class="Identifier">METHOD_OPTIONS</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">5'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="METHOD_TRACE"><a name="METHOD_TRACE"></a><pre><span class="Identifier">METHOD_TRACE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">6'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="METHOD_CONNECT"><a name="METHOD_CONNECT"></a><pre><span class="Identifier">METHOD_CONNECT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">7'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="METHOD_MAX"><a name="METHOD_MAX"></a><pre><span class="Identifier">METHOD_MAX</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">8'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_DISCONNECTED"><a name="STATUS_DISCONNECTED"></a><pre><span class="Identifier">STATUS_DISCONNECTED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">0'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_RESOLVING"><a name="STATUS_RESOLVING"></a><pre><span class="Identifier">STATUS_RESOLVING</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">1'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_CANT_RESOLVE"><a name="STATUS_CANT_RESOLVE"></a><pre><span class="Identifier">STATUS_CANT_RESOLVE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">2'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_CONNECTING"><a name="STATUS_CONNECTING"></a><pre><span class="Identifier">STATUS_CONNECTING</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">3'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_CANT_CONNECT"><a name="STATUS_CANT_CONNECT"></a><pre><span class="Identifier">STATUS_CANT_CONNECT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">4'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_CONNECTED"><a name="STATUS_CONNECTED"></a><pre><span class="Identifier">STATUS_CONNECTED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">5'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_REQUESTING"><a name="STATUS_REQUESTING"></a><pre><span class="Identifier">STATUS_REQUESTING</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">6'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_BODY"><a name="STATUS_BODY"></a><pre><span class="Identifier">STATUS_BODY</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">7'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_CONNECTION_ERROR"><a name="STATUS_CONNECTION_ERROR"></a><pre><span class="Identifier">STATUS_CONNECTION_ERROR</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">8'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="STATUS_SSL_HANDSHAKE_ERROR"><a name="STATUS_SSL_HANDSHAKE_ERROR"></a><pre><span class="Identifier">STATUS_SSL_HANDSHAKE_ERROR</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">9'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_CONTINUE"><a name="RESPONSE_CONTINUE"></a><pre><span class="Identifier">RESPONSE_CONTINUE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">100'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_SWITCHING_PROTOCOLS"><a name="RESPONSE_SWITCHING_PROTOCOLS"></a><pre><span class="Identifier">RESPONSE_SWITCHING_PROTOCOLS</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">101'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_PROCESSING"><a name="RESPONSE_PROCESSING"></a><pre><span class="Identifier">RESPONSE_PROCESSING</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">102'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_OK"><a name="RESPONSE_OK"></a><pre><span class="Identifier">RESPONSE_OK</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">200'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_CREATED"><a name="RESPONSE_CREATED"></a><pre><span class="Identifier">RESPONSE_CREATED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">201'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_ACCEPTED"><a name="RESPONSE_ACCEPTED"></a><pre><span class="Identifier">RESPONSE_ACCEPTED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">202'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_NON_AUTHORITATIVE_INFORMATION"><a name="RESPONSE_NON_AUTHORITATIVE_INFORMATION"></a><pre><span class="Identifier">RESPONSE_NON_AUTHORITATIVE_INFORMATION</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">203'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_NO_CONTENT"><a name="RESPONSE_NO_CONTENT"></a><pre><span class="Identifier">RESPONSE_NO_CONTENT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">204'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_RESET_CONTENT"><a name="RESPONSE_RESET_CONTENT"></a><pre><span class="Identifier">RESPONSE_RESET_CONTENT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">205'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_PARTIAL_CONTENT"><a name="RESPONSE_PARTIAL_CONTENT"></a><pre><span class="Identifier">RESPONSE_PARTIAL_CONTENT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">206'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_MULTI_STATUS"><a name="RESPONSE_MULTI_STATUS"></a><pre><span class="Identifier">RESPONSE_MULTI_STATUS</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">207'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_IM_USED"><a name="RESPONSE_IM_USED"></a><pre><span class="Identifier">RESPONSE_IM_USED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">226'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_MULTIPLE_CHOICES"><a name="RESPONSE_MULTIPLE_CHOICES"></a><pre><span class="Identifier">RESPONSE_MULTIPLE_CHOICES</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">300'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_MOVED_PERMANENTLY"><a name="RESPONSE_MOVED_PERMANENTLY"></a><pre><span class="Identifier">RESPONSE_MOVED_PERMANENTLY</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">301'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_FOUND"><a name="RESPONSE_FOUND"></a><pre><span class="Identifier">RESPONSE_FOUND</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">302'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_SEE_OTHER"><a name="RESPONSE_SEE_OTHER"></a><pre><span class="Identifier">RESPONSE_SEE_OTHER</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">303'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_NOT_MODIFIED"><a name="RESPONSE_NOT_MODIFIED"></a><pre><span class="Identifier">RESPONSE_NOT_MODIFIED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">304'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_USE_PROXY"><a name="RESPONSE_USE_PROXY"></a><pre><span class="Identifier">RESPONSE_USE_PROXY</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">305'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_TEMPORARY_REDIRECT"><a name="RESPONSE_TEMPORARY_REDIRECT"></a><pre><span class="Identifier">RESPONSE_TEMPORARY_REDIRECT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">307'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_BAD_REQUEST"><a name="RESPONSE_BAD_REQUEST"></a><pre><span class="Identifier">RESPONSE_BAD_REQUEST</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">400'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_UNAUTHORIZED"><a name="RESPONSE_UNAUTHORIZED"></a><pre><span class="Identifier">RESPONSE_UNAUTHORIZED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">401'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_PAYMENT_REQUIRED"><a name="RESPONSE_PAYMENT_REQUIRED"></a><pre><span class="Identifier">RESPONSE_PAYMENT_REQUIRED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">402'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_FORBIDDEN"><a name="RESPONSE_FORBIDDEN"></a><pre><span class="Identifier">RESPONSE_FORBIDDEN</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">403'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_NOT_FOUND"><a name="RESPONSE_NOT_FOUND"></a><pre><span class="Identifier">RESPONSE_NOT_FOUND</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">404'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_METHOD_NOT_ALLOWED"><a name="RESPONSE_METHOD_NOT_ALLOWED"></a><pre><span class="Identifier">RESPONSE_METHOD_NOT_ALLOWED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">405'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_NOT_ACCEPTABLE"><a name="RESPONSE_NOT_ACCEPTABLE"></a><pre><span class="Identifier">RESPONSE_NOT_ACCEPTABLE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">406'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_PROXY_AUTHENTICATION_REQUIRED"><a name="RESPONSE_PROXY_AUTHENTICATION_REQUIRED"></a><pre><span class="Identifier">RESPONSE_PROXY_AUTHENTICATION_REQUIRED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">407'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_REQUEST_TIMEOUT"><a name="RESPONSE_REQUEST_TIMEOUT"></a><pre><span class="Identifier">RESPONSE_REQUEST_TIMEOUT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">408'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_CONFLICT"><a name="RESPONSE_CONFLICT"></a><pre><span class="Identifier">RESPONSE_CONFLICT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">409'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_GONE"><a name="RESPONSE_GONE"></a><pre><span class="Identifier">RESPONSE_GONE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">410'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_LENGTH_REQUIRED"><a name="RESPONSE_LENGTH_REQUIRED"></a><pre><span class="Identifier">RESPONSE_LENGTH_REQUIRED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">411'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_PRECONDITION_FAILED"><a name="RESPONSE_PRECONDITION_FAILED"></a><pre><span class="Identifier">RESPONSE_PRECONDITION_FAILED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">412'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_REQUEST_ENTITY_TOO_LARGE"><a name="RESPONSE_REQUEST_ENTITY_TOO_LARGE"></a><pre><span class="Identifier">RESPONSE_REQUEST_ENTITY_TOO_LARGE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">413'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_REQUEST_URI_TOO_LONG"><a name="RESPONSE_REQUEST_URI_TOO_LONG"></a><pre><span class="Identifier">RESPONSE_REQUEST_URI_TOO_LONG</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">414'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_UNSUPPORTED_MEDIA_TYPE"><a name="RESPONSE_UNSUPPORTED_MEDIA_TYPE"></a><pre><span class="Identifier">RESPONSE_UNSUPPORTED_MEDIA_TYPE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">415'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE"><a name="RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE"></a><pre><span class="Identifier">RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">416'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_EXPECTATION_FAILED"><a name="RESPONSE_EXPECTATION_FAILED"></a><pre><span class="Identifier">RESPONSE_EXPECTATION_FAILED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">417'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_UNPROCESSABLE_ENTITY"><a name="RESPONSE_UNPROCESSABLE_ENTITY"></a><pre><span class="Identifier">RESPONSE_UNPROCESSABLE_ENTITY</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">422'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_LOCKED"><a name="RESPONSE_LOCKED"></a><pre><span class="Identifier">RESPONSE_LOCKED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">423'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_FAILED_DEPENDENCY"><a name="RESPONSE_FAILED_DEPENDENCY"></a><pre><span class="Identifier">RESPONSE_FAILED_DEPENDENCY</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">424'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_UPGRADE_REQUIRED"><a name="RESPONSE_UPGRADE_REQUIRED"></a><pre><span class="Identifier">RESPONSE_UPGRADE_REQUIRED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">426'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_INTERNAL_SERVER_ERROR"><a name="RESPONSE_INTERNAL_SERVER_ERROR"></a><pre><span class="Identifier">RESPONSE_INTERNAL_SERVER_ERROR</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">500'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_NOT_IMPLEMENTED"><a name="RESPONSE_NOT_IMPLEMENTED"></a><pre><span class="Identifier">RESPONSE_NOT_IMPLEMENTED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">501'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_BAD_GATEWAY"><a name="RESPONSE_BAD_GATEWAY"></a><pre><span class="Identifier">RESPONSE_BAD_GATEWAY</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">502'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_SERVICE_UNAVAILABLE"><a name="RESPONSE_SERVICE_UNAVAILABLE"></a><pre><span class="Identifier">RESPONSE_SERVICE_UNAVAILABLE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">503'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_GATEWAY_TIMEOUT"><a name="RESPONSE_GATEWAY_TIMEOUT"></a><pre><span class="Identifier">RESPONSE_GATEWAY_TIMEOUT</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">504'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_HTTP_VERSION_NOT_SUPPORTED"><a name="RESPONSE_HTTP_VERSION_NOT_SUPPORTED"></a><pre><span class="Identifier">RESPONSE_HTTP_VERSION_NOT_SUPPORTED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">505'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_INSUFFICIENT_STORAGE"><a name="RESPONSE_INSUFFICIENT_STORAGE"></a><pre><span class="Identifier">RESPONSE_INSUFFICIENT_STORAGE</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">507'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="RESPONSE_NOT_EXTENDED"><a name="RESPONSE_NOT_EXTENDED"></a><pre><span class="Identifier">RESPONSE_NOT_EXTENDED</span><span class="Operator">*</span> <span class="Other">=</span> <span class="DecNumber">510'i64</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
|
|
</dl></div>
|
|
<div class="section" id="12">
|
|
<h1><a class="toc-backref" href="#12">Procs</a></h1>
|
|
<dl class="item">
|
|
<dt id="connectToHost"><a name="connectToHost,HTTPClient,string,int64,bool,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">connectToHost</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">;</span> <span class="Identifier">host</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">port</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">useSsl</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">false</span><span class="Other">;</span>
|
|
<span class="Identifier">verifyHost</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other">=</span> <span class="Identifier">true</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="setConnection"><a name="setConnection,HTTPClient,StreamPeer"></a><pre><span class="Keyword">proc</span> <span class="Identifier">setConnection</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">;</span> <span class="Identifier">connection</span><span class="Other">:</span> <span class="Identifier">StreamPeer</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getConnection"><a name="getConnection,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getConnection</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">StreamPeer</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="requestRaw"><a name="requestRaw,HTTPClient,int64,string,PoolStringArray,PoolByteArray"></a><pre><span class="Keyword">proc</span> <span class="Identifier">requestRaw</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">;</span> <span class="Identifier">methodd</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">url</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span>
|
|
<span class="Identifier">headers</span><span class="Other">:</span> <span class="Identifier">PoolStringArray</span><span class="Other">;</span> <span class="Identifier">body</span><span class="Other">:</span> <span class="Identifier">PoolByteArray</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
|
<span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="request"><a name="request,HTTPClient,int64,string,PoolStringArray,string"></a><pre><span class="Keyword">proc</span> <span class="Identifier">request</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">;</span> <span class="Identifier">methodd</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">url</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">;</span> <span class="Identifier">headers</span><span class="Other">:</span> <span class="Identifier">PoolStringArray</span><span class="Other">;</span>
|
|
<span class="Identifier">body</span><span class="Other">:</span> <span class="Identifier">string</span> <span class="Other">=</span> <span class="StringLit">""</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="sendBodyText"><a name="sendBodyText,HTTPClient,string"></a><pre><span class="Keyword">proc</span> <span class="Identifier">sendBodyText</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">;</span> <span class="Identifier">body</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="sendBodyData"><a name="sendBodyData,HTTPClient,PoolByteArray"></a><pre><span class="Keyword">proc</span> <span class="Identifier">sendBodyData</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">;</span> <span class="Identifier">body</span><span class="Other">:</span> <span class="Identifier">PoolByteArray</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="close"><a name="close,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">close</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="hasResponse"><a name="hasResponse,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">hasResponse</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="isResponseChunked"><a name="isResponseChunked,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">isResponseChunked</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getResponseCode"><a name="getResponseCode,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getResponseCode</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getResponseHeaders"><a name="getResponseHeaders,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getResponseHeaders</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">PoolStringArray</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getResponseHeadersAsDictionary"><a name="getResponseHeadersAsDictionary,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getResponseHeadersAsDictionary</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">Dictionary</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getResponseBodyLength"><a name="getResponseBodyLength,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getResponseBodyLength</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="readResponseBodyChunk"><a name="readResponseBodyChunk,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">readResponseBodyChunk</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">PoolByteArray</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="setReadChunkSize"><a name="setReadChunkSize,HTTPClient,int64"></a><pre><span class="Keyword">proc</span> <span class="Identifier">setReadChunkSize</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">;</span> <span class="Identifier">bytes</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="setBlockingMode"><a name="setBlockingMode,HTTPClient,bool"></a><pre><span class="Keyword">proc</span> <span class="Identifier">setBlockingMode</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">;</span> <span class="Identifier">enabled</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="isBlockingModeEnabled"><a name="isBlockingModeEnabled,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">isBlockingModeEnabled</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="getStatus"><a name="getStatus,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">getStatus</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="poll"><a name="poll,HTTPClient"></a><pre><span class="Keyword">proc</span> <span class="Identifier">poll</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span> <span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
<dt id="queryStringFromDict"><a name="queryStringFromDict,HTTPClient,Dictionary"></a><pre><span class="Keyword">proc</span> <span class="Identifier">queryStringFromDict</span><span class="Operator">*</span><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <span class="Identifier">HTTPClient</span><span class="Other">;</span> <span class="Identifier">fields</span><span class="Other">:</span> <span class="Identifier">Dictionary</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">string</span> <span class="Other pragmabegin">{.</span><div class="pragma"><span class="Identifier">gcsafe</span><span class="Other">,</span>
|
|
<span class="Identifier">locks</span><span class="Other">:</span> <span class="DecNumber">0</span></div><span class="Other pragmaend">.}</span></pre></dt>
|
|
<dd>
|
|
|
|
|
|
</dd>
|
|
|
|
</dl></div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="twelve-columns footer">
|
|
<span class="nim-sprite"></span>
|
|
<br/>
|
|
<small>Made with Nim. Generated: 2017-08-14 13:47:41 UTC</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|