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