<?xml version="1.0" encoding="utf-8"?>
<KScriptSetting>
  <Name>request</Name>
  <Description>Access to the http request data, query string, form or headers. Cookie is available from k.cookie.</Description>
  <Example><![CDATA[
    <script engine="kscript">

    // try to get value from request, in the order query string, form and header.
    // example url /page?queryname=stringvalue

    var value = k.request.queryname;
    // value = stringvalue

    // or access to each individual data only.
    var value = k.request.queryString.queryname;
    // value = stringvalue

    var value = k.request.form.queryname;
    // value = null because form does not have value. 

    </script>
    ]]></Example>
  <Props>
    <Property>
      <Name>queryString</Name>
      <Description>The query string collection</Description>
      <Type>Dictionary</Type>
    </Property>
    <Property>
      <Name>form</Name>
      <Description>form</Description>
      <Type>Dictionary</Type>
    </Property>
    <Property>
      <Name>method</Name>
      <Description>method</Description>
      <Type>string</Type>
    </Property>
    <Property>
      <Name>clientIp</Name>
      <Description>clientIp</Description>
      <Type>string</Type>
    </Property>
    <Property>
      <Name>headers</Name>
      <Description>headers</Description>
      <Type>Dictionary</Type>
    </Property>
    <Property>
      <Name>url</Name>
      <Description>url</Description>
      <Type>string</Type>
    </Property>
    <Property>
      <Name>files</Name>
      <Description>A collection of UploadFile</Description>
      <Type>UploadFile</Type>
    </Property>
  </Props>
  <Methods />
</KScriptSetting>