Advertisement
Guest User

Untitled

a guest
Mar 1st, 2014
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. public TRequest = object
  2. public:
  3. params: PStringTable ## Parameters from the pattern, but also the
  4. ## query string.
  5. matches: array[0..9, string] ## Matches if this is a regex pattern.
  6. body: string ## Body of the request, only for POST.
  7. ## You're probably looking for ``formData`` instead.
  8. headers: PStringTable ## Headers received with the request. Retrieving these is case insensitive.
  9. formData: TMultiData ## Form data; only present for multipart/form-data
  10. port: int
  11. host: string
  12. appName: string ## This is set by the user in ``run``, it is overriden by the "SCRIPT_NAME" scgi parameter.
  13. pathInfo: string ## This is ``.path`` without ``.appName``.
  14. secure: bool
  15. path: string ## Path of request.
  16. cookies: PStringTable ## Cookies from the browser.
  17. ip: string ## IP address of the requesting client.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement