Skip to content

Latest commit

 

History

History
67 lines (41 loc) · 868 Bytes

HttpRequest.md

File metadata and controls

67 lines (41 loc) · 868 Bytes

HttpRequest

Extends: Reference

Description

An HTTP request received by the server

Property Descriptions

headers

var headers: Dictionary

A dictionary of the headers of the request

body

var body: String

The received raw body

query_match

var query_match: RegExMatch

A match object of the regular expression that matches the path

path

var path: String

The path that matches the router path

method

var method: String

The method

parameters

var parameters: Dictionary

A dictionary of request (aka. routing) parameters

query

var query: Dictionary

A dictionary of request query parameters