Enum HTTPServerOption
Specifies optional features of the HTTP server.
Disabling unneeded features can speed up the server or reduce its memory usage.
Note that the options parseFormBody
, parseJsonBody
and parseMultiPartBody
will also drain the HTTPServerRequest.bodyReader
stream whenever a request
body with form or JSON data is encountered.
The enum base type is
.
int
Enum members
Name | Description |
---|---|
distribute
|
Distributes request processing among worker threads |
none
|
|
None
|
deprecated |
parseCookies
|
Fills the .cookies field in the request |
ParseCookies
|
deprecated |
parseFormBody
|
Fills the .form field in the request |
ParseFormBody
|
deprecated |
parseJsonBody
|
Fills the .json field in the request |
ParseJsonBody
|
deprecated |
parseMultiPartBody
|
Enables use of the .nextPart() method in the request |
ParseMultiPartBody
|
deprecated |
parseQueryString
|
Fills the .query field in the request |
ParseQueryString
|
deprecated |
parseURL
|
Fills the .path, .queryString fields in the request |
ParseURL
|
deprecated |
Authors
Sönke Ludwig, Jan Krüger, Ilya Shipunov
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.