Import std.net.http.server
HttpRequest
class
Public Class HttpRequest
A request a server read: its method, its Verb, as the client wrote it, like "GET" (Method is a keyword); its target, and the target's path, percent-encoded, without dot segments, and query; its headers and body; the path parameters its route bound; and the client's address.
std/net/http/server.fb, line 73
-
Its method, as the client wrote it, like "GET".
-
Its target, as the client wrote it.
-
Its target's path, percent-encoded, without dot segments.
-
Its target's query.
-
Its headers.
-
Its body's bytes.
-
"HTTP/1.1" or "HTTP/1.0".
-
The client's address.
-
The body as text, its UTF-8, with U+FFFD for each byte that doesn't start well-formed UTF-8.
-
A path parameter its route bound, percent-decoded, like
:id's, or Null when it has none of thatname. -
Each path parameter its route bound, by name.
-
A form's fields, when the body is application/x-www-form-urlencoded, as a browser sends them, or none.
Report an issue with this page or with FutureBlitz on GitHub.