text: GNATdoc.Documentation = {
    "label": "Sf.Network.Http.Response",
    "qualifier": "(nested)",
    "summary": [
    ],
    "description": [
    ],
    "entities": [
      {
        "entities": [
          {
            "label": "destroy",
            "qualifier": "",
            "line": 213,
            "column": 17,
            "src": "srcs/sf-network-http.ads.html",
            "summary": [
            ],
            "description": [
              {
                "kind": "code",
                "children": [
                  {
                    "kind": "line",
                    "number": 213,
                    "children": [
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": "      "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "procedure"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "destroy",
                        "href": "docs/sf__network__http___response___spec.html#L213C17"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "("
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "httpResponse",
                        "href": "docs/sf__network__http___response___spec.html#L213C26"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ":"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "sfHttpResponse_Ptr",
                        "href": "docs/sf__network___spec.html#L40C9"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ")"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ";"
                      }
                    ]
                  }
                ]
              },
              {
                "kind": "paragraph",
                "children": [
                  {
                    "kind": "span",
                    "text": "\n"
                  },
                  {
                    "kind": "span",
                    "text": " Destroy a HTTP response\n"
                  }
                ]
              }
            ],
            "parameters": [
              {
                "label": "httpResponse",
                "line": 213,
                "column": 26,
                "type": {
                  "label": "Sf.Network.sfHttpResponse_Ptr",
                  "docHref": "docs/sf__network___spec.html#L40C9"
                },
                "description": [
                  {
                    "kind": "paragraph",
                    "children": [
                      {
                        "kind": "span",
                        "text": "HTTP response to destroy\n"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "label": "getBody",
            "qualifier": "",
            "line": 280,
            "column": 16,
            "src": "srcs/sf-network-http.ads.html",
            "summary": [
            ],
            "description": [
              {
                "kind": "code",
                "children": [
                  {
                    "kind": "line",
                    "number": 280,
                    "children": [
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": "      "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "function"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "getBody",
                        "href": "docs/sf__network__http___response___spec.html#L280C16"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "("
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "httpResponse",
                        "href": "docs/sf__network__http___response___spec.html#L280C25"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ":"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "sfHttpResponse_Ptr",
                        "href": "docs/sf__network___spec.html#L40C9"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ")"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "return"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "String"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ";"
                      }
                    ]
                  }
                ]
              },
              {
                "kind": "paragraph",
                "children": [
                  {
                    "kind": "span",
                    "text": "\n"
                  },
                  {
                    "kind": "span",
                    "text": " Get the body of a HTTP response\n"
                  },
                  {
                    "kind": "span",
                    "text": "The body of a response may contain:\n"
                  },
                  {
                    "kind": "span",
                    "text": "@li the requested page (for GET requests)\n"
                  },
                  {
                    "kind": "span",
                    "text": "@li a response from the server (for POST requests)\n"
                  },
                  {
                    "kind": "span",
                    "text": "@li nothing (for HEAD requests)\n"
                  },
                  {
                    "kind": "span",
                    "text": "@li an error message (in case of an error)\n"
                  }
                ]
              }
            ],
            "parameters": [
              {
                "label": "httpResponse",
                "line": 280,
                "column": 25,
                "type": {
                  "label": "Sf.Network.sfHttpResponse_Ptr",
                  "docHref": "docs/sf__network___spec.html#L40C9"
                },
                "description": [
                  {
                    "kind": "paragraph",
                    "children": [
                      {
                        "kind": "span",
                        "text": "HTTP response\n"
                      }
                    ]
                  }
                ]
              }
            ],
            "returns": {
              "description": [
                {
                  "kind": "paragraph",
                  "children": [
                    {
                      "kind": "span",
                      "text": "The response body\n"
                    }
                  ]
                }
              ]
            }
          },
          {
            "label": "getField",
            "qualifier": "",
            "line": 228,
            "column": 16,
            "src": "srcs/sf-network-http.ads.html",
            "summary": [
            ],
            "description": [
              {
                "kind": "code",
                "children": [
                  {
                    "kind": "line",
                    "number": 228,
                    "children": [
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": "      "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "function"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "getField",
                        "href": "docs/sf__network__http___response___spec.html#L228C16"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "("
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "httpResponse",
                        "href": "docs/sf__network__http___response___spec.html#L228C26"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ":"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "sfHttpResponse_Ptr",
                        "href": "docs/sf__network___spec.html#L40C9"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ";"
                      }
                    ]
                  },
                  {
                    "kind": "line",
                    "number": 229,
                    "children": [
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": "                         "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "field",
                        "href": "docs/sf__network__http___response___spec.html#L229C26"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": "        "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ":"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "String"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ")"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "return"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "String"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ";"
                      }
                    ]
                  }
                ]
              },
              {
                "kind": "paragraph",
                "children": [
                  {
                    "kind": "span",
                    "text": "\n"
                  },
                  {
                    "kind": "span",
                    "text": " Get the value of a field of a HTTP response\n"
                  },
                  {
                    "kind": "span",
                    "text": "If the field @a field is not found in the response header,\n"
                  },
                  {
                    "kind": "span",
                    "text": "the empty string is returned. This function uses\n"
                  },
                  {
                    "kind": "span",
                    "text": "case-insensitive comparisons.\n"
                  }
                ]
              }
            ],
            "parameters": [
              {
                "label": "httpResponse",
                "line": 228,
                "column": 26,
                "type": {
                  "label": "Sf.Network.sfHttpResponse_Ptr",
                  "docHref": "docs/sf__network___spec.html#L40C9"
                },
                "description": [
                  {
                    "kind": "paragraph",
                    "children": [
                      {
                        "kind": "span",
                        "text": "HTTP response\n"
                      }
                    ]
                  }
                ]
              },
              {
                "label": "field",
                "line": 229,
                "column": 26,
                "type": {
                  "label": "String"
                },
                "description": [
                  {
                    "kind": "paragraph",
                    "children": [
                      {
                        "kind": "span",
                        "text": "Name of the field to get\n"
                      }
                    ]
                  }
                ]
              }
            ],
            "returns": {
              "description": [
                {
                  "kind": "paragraph",
                  "children": [
                    {
                      "kind": "span",
                      "text": "Value of the field, or empty string if not found\n"
                    }
                  ]
                }
              ]
            }
          },
          {
            "label": "getMajorVersion",
            "qualifier": "",
            "line": 254,
            "column": 16,
            "src": "srcs/sf-network-http.ads.html",
            "summary": [
            ],
            "description": [
              {
                "kind": "code",
                "children": [
                  {
                    "kind": "line",
                    "number": 254,
                    "children": [
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": "      "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "function"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "getMajorVersion",
                        "href": "docs/sf__network__http___response___spec.html#L254C16"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "("
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "httpResponse",
                        "href": "docs/sf__network__http___response___spec.html#L254C33"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ":"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "sfHttpResponse_Ptr",
                        "href": "docs/sf__network___spec.html#L40C9"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ")"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "return"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "sfUint32",
                        "href": "docs/sf___spec.html#L108C9"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ";"
                      }
                    ]
                  }
                ]
              },
              {
                "kind": "paragraph",
                "children": [
                  {
                    "kind": "span",
                    "text": "\n"
                  },
                  {
                    "kind": "span",
                    "text": " Get the major HTTP version number of a HTTP response\n"
                  }
                ]
              }
            ],
            "parameters": [
              {
                "label": "httpResponse",
                "line": 254,
                "column": 33,
                "type": {
                  "label": "Sf.Network.sfHttpResponse_Ptr",
                  "docHref": "docs/sf__network___spec.html#L40C9"
                },
                "description": [
                  {
                    "kind": "paragraph",
                    "children": [
                      {
                        "kind": "span",
                        "text": "HTTP response\n"
                      }
                    ]
                  }
                ]
              }
            ],
            "returns": {
              "description": [
                {
                  "kind": "paragraph",
                  "children": [
                    {
                      "kind": "span",
                      "text": "Major HTTP version number\n"
                    }
                  ]
                }
              ]
            }
          },
          {
            "label": "getMinorVersion",
            "qualifier": "",
            "line": 264,
            "column": 16,
            "src": "srcs/sf-network-http.ads.html",
            "summary": [
            ],
            "description": [
              {
                "kind": "code",
                "children": [
                  {
                    "kind": "line",
                    "number": 264,
                    "children": [
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": "      "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "function"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "getMinorVersion",
                        "href": "docs/sf__network__http___response___spec.html#L264C16"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "("
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "httpResponse",
                        "href": "docs/sf__network__http___response___spec.html#L264C33"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ":"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "sfHttpResponse_Ptr",
                        "href": "docs/sf__network___spec.html#L40C9"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ")"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "return"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "sfUint32",
                        "href": "docs/sf___spec.html#L108C9"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ";"
                      }
                    ]
                  }
                ]
              },
              {
                "kind": "paragraph",
                "children": [
                  {
                    "kind": "span",
                    "text": "\n"
                  },
                  {
                    "kind": "span",
                    "text": " Get the minor HTTP version number of a HTTP response\n"
                  }
                ]
              }
            ],
            "parameters": [
              {
                "label": "httpResponse",
                "line": 264,
                "column": 33,
                "type": {
                  "label": "Sf.Network.sfHttpResponse_Ptr",
                  "docHref": "docs/sf__network___spec.html#L40C9"
                },
                "description": [
                  {
                    "kind": "paragraph",
                    "children": [
                      {
                        "kind": "span",
                        "text": "HTTP response\n"
                      }
                    ]
                  }
                ]
              }
            ],
            "returns": {
              "description": [
                {
                  "kind": "paragraph",
                  "children": [
                    {
                      "kind": "span",
                      "text": "Minor HTTP version number\n"
                    }
                  ]
                }
              ]
            }
          },
          {
            "label": "getStatus",
            "qualifier": "",
            "line": 244,
            "column": 16,
            "src": "srcs/sf-network-http.ads.html",
            "summary": [
            ],
            "description": [
              {
                "kind": "code",
                "children": [
                  {
                    "kind": "line",
                    "number": 244,
                    "children": [
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": "      "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "function"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "getStatus",
                        "href": "docs/sf__network__http___response___spec.html#L244C16"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "("
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "httpResponse",
                        "href": "docs/sf__network__http___response___spec.html#L244C27"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ":"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "sfHttpResponse_Ptr",
                        "href": "docs/sf__network___spec.html#L40C9"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ")"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "keyword",
                        "text": "return"
                      },
                      {
                        "kind": "span",
                        "cssClass": "text",
                        "text": " "
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": "sfHttpStatus",
                        "href": "docs/sf__network__http___spec.html#L78C12"
                      },
                      {
                        "kind": "span",
                        "cssClass": "identifier",
                        "text": ";"
                      }
                    ]
                  }
                ]
              },
              {
                "kind": "paragraph",
                "children": [
                  {
                    "kind": "span",
                    "text": "\n"
                  },
                  {
                    "kind": "span",
                    "text": " Get the status code of a HTTP reponse\n"
                  },
                  {
                    "kind": "span",
                    "text": "The status code should be the first thing to be checked\n"
                  },
                  {
                    "kind": "span",
                    "text": "after receiving a response, it defines whether it is a\n"
                  },
                  {
                    "kind": "span",
                    "text": "success, a failure or anything else (see the sfHttpStatus\n"
                  },
                  {
                    "kind": "span",
                    "text": "enumeration).\n"
                  }
                ]
              }
            ],
            "parameters": [
              {
                "label": "httpResponse",
                "line": 244,
                "column": 27,
                "type": {
                  "label": "Sf.Network.sfHttpResponse_Ptr",
                  "docHref": "docs/sf__network___spec.html#L40C9"
                },
                "description": [
                  {
                    "kind": "paragraph",
                    "children": [
                      {
                        "kind": "span",
                        "text": "HTTP response\n"
                      }
                    ]
                  }
                ]
              }
            ],
            "returns": {
              "description": [
                {
                  "kind": "paragraph",
                  "children": [
                    {
                      "kind": "span",
                      "text": "Status code of the response\n"
                    }
                  ]
                }
              ]
            }
          }
        ],
        "label": "Subprograms"
      }
    ]
  };